diff options
author | Arnd Bergmann | 2015-11-16 15:04:52 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-12-18 23:19:20 +0100 |
commit | 5f550d930791b4b78f2c946060ee7cca3c03b113 (patch) | |
tree | 1ca6379186404d3b24df80cb08e995117dde6e14 /drivers/staging/wilc1000/wilc_wlan.c | |
parent | staging/android: add TODO to de-stage android sync framework (diff) | |
download | kernel-qcow2-linux-5f550d930791b4b78f2c946060ee7cca3c03b113.tar.gz kernel-qcow2-linux-5f550d930791b4b78f2c946060ee7cca3c03b113.tar.xz kernel-qcow2-linux-5f550d930791b4b78f2c946060ee7cca3c03b113.zip |
staging/wilc1000: remove unused functions
A number of symbols in the wilc1000 driver are completely unused
and can be removed.
This includes two variables that are only written but not read.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
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.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index 9d257b06c853..f702cca2095a 100644 --- a/drivers/staging/wilc1000/wilc_wlan.c +++ b/drivers/staging/wilc1000/wilc_wlan.c @@ -193,8 +193,6 @@ static int wilc_wlan_txq_add_to_head(struct txq_entry_t *tqe) return 0; } -u32 total_acks = 0, dropped_acks = 0; - #ifdef TCP_ACK_FILTER struct ack_session_info; struct ack_session_info { @@ -249,7 +247,6 @@ static inline int update_tcp_session(u32 index, u32 ack) static inline int add_tcp_pending_ack(u32 ack, u32 session_index, struct txq_entry_t *txqe) { - total_acks++; if (pending_acks < MAX_PENDING_ACKS) { pending_acks_info[pending_base + pending_acks].ack_num = ack; pending_acks_info[pending_base + pending_acks].txqe = txqe; @@ -361,7 +358,6 @@ static int wilc_wlan_txq_filter_dup_tcp_ack(struct net_device *dev) tqe = pending_acks_info[i].txqe; if (tqe) { wilc_wlan_txq_remove(tqe); - dropped_acks++; tqe->status = 1; if (tqe->tx_complete_func) tqe->tx_complete_func(tqe->priv, |