summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/wilc_wlan.c
diff options
context:
space:
mode:
authorLeo Kim2015-11-06 03:12:55 +0100
committerGreg Kroah-Hartman2015-11-16 05:02:47 +0100
commit442eda4ecb614caaec605a17a1c57fecbd7bd72f (patch)
tree488646e103d6f4688e9585f046cc43aa0eb7413e /drivers/staging/wilc1000/wilc_wlan.c
parentstaging: wilc1000: remove warnings line over 80 characters (diff)
downloadkernel-qcow2-linux-442eda4ecb614caaec605a17a1c57fecbd7bd72f.tar.gz
kernel-qcow2-linux-442eda4ecb614caaec605a17a1c57fecbd7bd72f.tar.xz
kernel-qcow2-linux-442eda4ecb614caaec605a17a1c57fecbd7bd72f.zip
staging: wilc1000: rename Dropped variable
This patch rename the Dropped variable to dropped to avoid CamelCase naming convention. Signed-off-by: Leo Kim <leo.kim@atmel.com> Signed-off-by: Glen Lee <glen.lee@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wlan.c')
-rw-r--r--drivers/staging/wilc1000/wilc_wlan.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c
index 66d7f1e86419..283ab521ba18 100644
--- a/drivers/staging/wilc1000/wilc_wlan.c
+++ b/drivers/staging/wilc1000/wilc_wlan.c
@@ -345,7 +345,7 @@ static int wilc_wlan_txq_filter_dup_tcp_ack(struct net_device *dev)
perInterface_wlan_t *nic;
struct wilc *wilc;
u32 i = 0;
- u32 Dropped = 0;
+ u32 dropped = 0;
wilc_wlan_dev_t *p = &g_wlan;
nic = netdev_priv(dev);
@@ -366,7 +366,7 @@ static int wilc_wlan_txq_filter_dup_tcp_ack(struct net_device *dev)
if (tqe->tx_complete_func)
tqe->tx_complete_func(tqe->priv, tqe->status);
kfree(tqe);
- Dropped++;
+ dropped++;
}
}
}
@@ -380,9 +380,9 @@ static int wilc_wlan_txq_filter_dup_tcp_ack(struct net_device *dev)
spin_unlock_irqrestore(&wilc->txq_spinlock, p->txq_spinlock_flags);
- while (Dropped > 0) {
+ while (dropped > 0) {
linux_wlan_lock_timeout(&wilc->txq_event, 1);
- Dropped--;
+ dropped--;
}
return 1;