Commit 71a476e4 authored by Akshay Mariyanna's avatar Akshay Mariyanna Committed by Greg Kroah-Hartman

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: default avatarAkshay Mariyanna <akmlkcc@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4fdaa0d7
...@@ -254,7 +254,7 @@ int ks_wlan_hw_power_save(struct ks_wlan_private *priv) ...@@ -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, static int enqueue_txdev(struct ks_wlan_private *priv, unsigned char *p,
unsigned long size, unsigned long size,
void (*complete_handler) (void *arg1, void *arg2), void (*complete_handler)(void *arg1, void *arg2),
void *arg1, void *arg2) void *arg1, void *arg2)
{ {
struct tx_device_buffer *sp; struct tx_device_buffer *sp;
...@@ -353,7 +353,7 @@ static void tx_device_task(void *dev) ...@@ -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, 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) void *arg1, void *arg2)
{ {
int result = 0; int result = 0;
...@@ -413,7 +413,7 @@ static void ks_wlan_hw_rx(void *dev, uint16_t size) ...@@ -413,7 +413,7 @@ static void ks_wlan_hw_rx(void *dev, uint16_t size)
/* receive data */ /* receive data */
if (cnt_rxqbody(priv) >= (RX_DEVICE_BUFF_SIZE - 1)) { if (cnt_rxqbody(priv) >= (RX_DEVICE_BUFF_SIZE - 1)) {
/* in case of buffer overflow */ /* in case of buffer overflow */
DPRINTK(1, "rx buffer overflow \n"); DPRINTK(1, "rx buffer overflow\n");
goto error_out; goto error_out;
} }
rx_buffer = &priv->rx_dev.rx_dev_buff[priv->rx_dev.qtail]; rx_buffer = &priv->rx_dev.rx_dev_buff[priv->rx_dev.qtail];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment