staging: wlan-ng: Remove unused struct p80211macarray definition
authorDeepak R Varma <drv@mailo.com>
Tue, 1 Nov 2022 13:49:54 +0000 (19:19 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Nov 2022 07:30:20 +0000 (08:30 +0100)
struct p80211macarray is defined but is never used. Remove the unused
struct declaration.
Issue identified as part of coccicheck based code analysis.

Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Suggested-by: Pavel Skripkin <paskripkin@gmail.com>
Signed-off-by: Deepak R Varma <drv@mailo.com>
Link: https://lore.kernel.org/r/b42eff9b8f73542bc9015948e5e4684416982e1b.1667308828.git.drv@mailo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/p80211types.h

index 6486612a8f31b39914b6952860f4d8e4c4c0a31d..b2ed969604133e59424d01b957ca4b120585b97a 100644 (file)
@@ -231,12 +231,6 @@ struct p80211pstr32 {
        u8 data[MAXLEN_PSTR32];
 } __packed;
 
-/* MAC address array */
-struct p80211macarray {
-       u32 cnt;
-       u8 data[1][MAXLEN_PSTR6];
-} __packed;
-
 /* prototype template */
 struct p80211item {
        u32 did;