staging: rtl8723bs: remove typedefs in rtw_ioctl_set.h
authorMarco Cesati <marcocesati@gmail.com>
Fri, 12 Mar 2021 08:26:19 +0000 (09:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Mar 2021 16:25:40 +0000 (17:25 +0100)
This commit fixes the following checkpatch.pl warning:

    WARNING: do not add new typedefs
    #13: FILE: include/rtw_ioctl_set.h:13:
    +typedef struct _BSSIDInfo {

Signed-off-by: Marco Cesati <marco.cesati@gmail.com>
Link: https://lore.kernel.org/r/20210312082638.25512-15-marco.cesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/rtw_ioctl_set.h

index f0457e9..b0cdee2 100644 (file)
 
 typedef u8 NDIS_802_11_PMKID_VALUE[16];
 
-typedef struct _BSSIDInfo {
+struct BSSIDInfo {
        NDIS_802_11_MAC_ADDRESS  BSSID;
        NDIS_802_11_PMKID_VALUE  PMKID;
-} BSSIDInfo, *PBSSIDInfo;
+};
 
 
 u8 rtw_set_802_11_authentication_mode(struct adapter *pdapter, enum NDIS_802_11_AUTHENTICATION_MODE authmode);