]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: wlan-ng: remove unused field from struct hfa384x_usbctlx
authorTim Collier <osdevtc@gmail.com>
Fri, 25 Oct 2019 08:41:26 +0000 (09:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Oct 2019 18:46:43 +0000 (20:46 +0200)
The variant field in struct hfa384x_usbctlx is not referenced anywhere
in the driver, so remove it.

Signed-off-by: Tim Collier <osdevtc@gmail.com>
Link: https://lore.kernel.org/r/20191025084126.9181-6-osdevtc@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/hfa384x.h

index 86fd3fcd8a362a7d7476ad7c3c6b15b10f8ad274..bdd7f414fdbb3bc3486a18de2e791939e8d4a187 100644 (file)
@@ -1181,8 +1181,6 @@ struct hfa384x_usbctlx {
        ctlx_cmdcb_t cmdcb;     /* Async command callback */
        ctlx_usercb_t usercb;   /* Async user callback, */
        void *usercb_data;      /*  at CTLX completion  */
-
-       int variant;            /* Identifies cmd variant */
 };
 
 struct hfa384x_usbctlxq {