]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: rtl8723bs: Remove unnecessary length #define's.
authorQuytelda Kahja <quytelda@tamalin.org>
Tue, 27 Mar 2018 08:41:03 +0000 (01:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Mar 2018 09:59:28 +0000 (11:59 +0200)
commit7d0b4f3c9300f43b65125115f5728e1a5d39e270
treecb0bd0ea6a604c073cf3861c88ab555154b055f6
parent5befa937e8daaebcde81b9423eb93f3ff2e918f7
staging: rtl8723bs: Remove unnecessary length #define's.

This driver statically defines constants representing the size of
certain structs using literal integers as values.  Replace those
constants with the sizeof() macro.  Other length constants are already
defined in 'linux/ieee80211.h'; remove those #define's.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
drivers/staging/rtl8723bs/include/ieee80211.h