mirror of https://gitee.com/openkylin/linux.git
staging: ks7010: fix space related style issues in ks7010_sdio.c
This fixes the following checkpatch warnings: WARNING: Unnecessary space before function pointer arguments WARNING: unnecessary whitespace before a quoted newline Signed-off-by: Akshay Mariyanna <akmlkcc@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4fdaa0d700
commit
71a476e48d
|
@ -254,7 +254,7 @@ int ks_wlan_hw_power_save(struct ks_wlan_private *priv)
|
|||
|
||||
static int enqueue_txdev(struct ks_wlan_private *priv, unsigned char *p,
|
||||
unsigned long size,
|
||||
void (*complete_handler) (void *arg1, void *arg2),
|
||||
void (*complete_handler)(void *arg1, void *arg2),
|
||||
void *arg1, void *arg2)
|
||||
{
|
||||
struct tx_device_buffer *sp;
|
||||
|
@ -353,7 +353,7 @@ static void tx_device_task(void *dev)
|
|||
}
|
||||
|
||||
int ks_wlan_hw_tx(struct ks_wlan_private *priv, void *p, unsigned long size,
|
||||
void (*complete_handler) (void *arg1, void *arg2),
|
||||
void (*complete_handler)(void *arg1, void *arg2),
|
||||
void *arg1, void *arg2)
|
||||
{
|
||||
int result = 0;
|
||||
|
@ -413,7 +413,7 @@ static void ks_wlan_hw_rx(void *dev, uint16_t size)
|
|||
/* receive data */
|
||||
if (cnt_rxqbody(priv) >= (RX_DEVICE_BUFF_SIZE - 1)) {
|
||||
/* in case of buffer overflow */
|
||||
DPRINTK(1, "rx buffer overflow \n");
|
||||
DPRINTK(1, "rx buffer overflow\n");
|
||||
goto error_out;
|
||||
}
|
||||
rx_buffer = &priv->rx_dev.rx_dev_buff[priv->rx_dev.qtail];
|
||||
|
|
Loading…
Reference in New Issue