]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8723bs: remove unused structures
authorArnd Bergmann <arnd@arndb.de>
Thu, 4 Feb 2021 16:29:48 +0000 (17:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Feb 2021 13:11:21 +0000 (14:11 +0100)
commita52ec263e2b8a459b4ee7090024a12b9bfb972ba
tree0e29239b211c0f7ee9fc101b3908cfe6b4a2d6d7
parent90bfe5d789088ff10128ea31520d9e778ed033ad
staging: rtl8723bs: remove unused structures

Building this with 'make W=1' produces a couple of warnings:

rtl8723bs/include/ieee80211.h:730:1: warning: alignment 1 of 'struct ieee80211_assoc_request_frame' is less than 2 [-Wpacked-not-aligned]
rtl8723bs/include/ieee80211.h:737:1: warning: alignment 1 of 'struct ieee80211_assoc_response_frame' is less than 2 [-Wpacked-not-aligned]

The warnings are in dead code, so just remove the bits that
are obviously broken like this.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20210204162956.3276523-1-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/ieee80211.h