1
0
Fork 0
alistair23-linux/drivers/net/wimax/i2400m
Colin Ian King 3c546728df wimax/i2400m: remove redundant variables ack_status, bcf and protocol
Variables ack_status, bcf and protocol are being assigned but are
never used hence they are redundant and can be removed.

Also declare ack_type as unsigned int rather than unsigned to clean
up a checkpatch warning.

Cleans up clang warnings:
warning: variable 'ack_status' set but not used [-Wunused-but-set-variable]
warning: variable 'bcf' set but not used [-Wunused-but-set-variable]
warning: variable 'protocol' set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-11 22:54:25 -07:00
..
Kconfig i2400m: remove SDIO device support 2012-07-11 15:40:22 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
control.c wimax/i2400m: remove redundant variables ack_status, bcf and protocol 2018-07-11 22:54:25 -07:00
debug-levels.h
debugfs.c i2400m: debugfs return code is wrong 2012-10-25 18:01:38 +02:00
driver.c wimax/i2400m: make return of 0 explicit 2014-05-21 17:16:24 -04:00
fw.c wimax/i2400m: remove redundant variables ack_status, bcf and protocol 2018-07-11 22:54:25 -07:00
i2400m-usb.h drivers: net: wimax: i2400m: i2400m-usb: Use time_after for time comparison 2017-05-09 09:40:33 -04:00
i2400m.h wimax: Remove extern from function prototypes 2013-09-24 16:46:22 -07:00
netdev.c wimax/i2400m: remove redundant variables ack_status, bcf and protocol 2018-07-11 22:54:25 -07:00
op-rfkill.c
rx.c drivers: net: misc: Remove unused OOM variables 2013-02-06 14:58:52 -05:00
sysfs.c treewide: Use DEVICE_ATTR_WO 2018-01-09 16:34:35 +01:00
tx.c net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
usb-debug-levels.h
usb-fw.c scripts/spelling.txt: add "varible" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
usb-notif.c net: wimax: i2400m: usb-notif: don't print error when allocating urb fails 2016-08-13 14:53:40 -07:00
usb-rx.c net: drivers/net: Remove unnecessary skb_copy_expand OOM messages 2018-03-15 14:28:03 -04:00
usb-tx.c wimax/i2400m: remove an unused variable 2011-12-16 15:57:03 -05:00
usb.c net: wimax/i2400m: fix NULL-deref at probe 2017-03-13 12:28:40 -07:00