staging: rtl8723bs: remove NDIS_802_11_RATES typedef
PATCH 1/1 staging: rtl8723bs: remove NDIS_802_11_RATES typedef
The kernel coding style discourages typedefs, especially those that hide array types. Remove the NDIS_802_11_RATES typedef and replace its users with explicit unsigned char arrays.
No functional changes.
Signed-off-by Ethan Luna <[email protected]>
--- drivers/staging/rtl8723bs/include/wlan_bssdef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723bs/include/wlan_bssdef.h +1 -1
@@ -16,7 +16,7 @@#define NDIS_802_11_LENGTH_RATES_EX 16typedef unsigned char NDIS_802_11_MAC_ADDRESS [6 ]; -typedef unsigned char NDIS_802_11_RATES [NDIS_802_11_LENGTH_RATES ];/* Set of 8 data rates */ +unsigned char NDIS_802_11_RATES [NDIS_802_11_LENGTH_RATES ];/* Set of 8 data rates */ typedef unsigned char NDIS_802_11_RATES_EX [NDIS_802_11_LENGTH_RATES_EX ];/* Set of 16 data rates */ struct ndis_802_11_ssid {
Signature · 1 line
2.43.0