]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: ks7010: Remove trailing _t from 'struct rsn_mode_t'.
authorQuytelda Kahja <quytelda@tamalin.org>
Sat, 31 Mar 2018 06:07:43 +0000 (23:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 12:15:15 +0000 (14:15 +0200)
The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct rsn_mode_t' with 'struct rsn_mode'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c

index 081f68911456060c7e8fb4562bd16a473d1908dc..4dde1d380887f4ad1bb9cd2748906cc5d085b446 100644 (file)
@@ -1665,7 +1665,7 @@ struct wpa_suite {
        unsigned char suite[4][CIPHER_ID_LEN];
 } __packed;
 
-struct rsn_mode_t {
+struct rsn_mode {
        __le32 rsn_mode;
        __le16 rsn_capability;
 } __packed;
@@ -1674,7 +1674,7 @@ static
 void hostif_sme_set_rsn(struct ks_wlan_private *priv, int type)
 {
        struct wpa_suite wpa_suite;
-       struct rsn_mode_t rsn_mode;
+       struct rsn_mode rsn_mode;
        __le32 val;
 
        memset(&wpa_suite, 0, sizeof(wpa_suite));