staging: ks7010: Remove trailing _t from 'struct hostif_data_request_t'.
authorQuytelda Kahja <quytelda@tamalin.org>
Sat, 31 Mar 2018 06:07:45 +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 hostif_data_request_t' with 'struct
hostif_data_request'.

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

index 30cd9f20ab6ab5ef0488bfebcf5d5fd7713fd88e..c486f6e57939a38d0d0b7a3af2bd5f3c5433eaca 100644 (file)
@@ -1060,7 +1060,7 @@ int hostif_data_request(struct ks_wlan_private *priv, struct sk_buff *skb)
 
        unsigned char *buffer = NULL;
        unsigned int length = 0;
-       struct hostif_data_request_t *pp;
+       struct hostif_data_request *pp;
        unsigned char *p;
        int result = 0;
        unsigned short eth_proto;
index f4f9c1ee11d168a527e9af78669fe81ecda8e5a6..187444533b4f93eadc4af0a773f5246f1590dfa3 100644 (file)
@@ -67,7 +67,7 @@ struct hostif_hdr {
        __le16 event;
 } __packed;
 
-struct hostif_data_request_t {
+struct hostif_data_request {
        struct hostif_hdr header;
        __le16 auth_type;
 #define TYPE_DATA 0x0000