]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: ks7010: Remove trailing _t from 'struct association_request_t'.
authorQuytelda Kahja <quytelda@tamalin.org>
Sat, 31 Mar 2018 06:08:20 +0000 (23:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 12:16:48 +0000 (14:16 +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 association_request_t' with 'struct
association_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 2956f8d8b9f37692d9c22637e8bd76a1853a41fb..9d6dcfd9858fce2d36e485c1819f8fe14973aba1 100644 (file)
@@ -863,7 +863,7 @@ void hostif_adhoc_set_confirm(struct ks_wlan_private *priv)
 static
 void hostif_associate_indication(struct ks_wlan_private *priv)
 {
-       struct association_request_t *assoc_req;
+       struct association_request *assoc_req;
        struct association_response_t *assoc_resp;
        unsigned char *pb;
        union iwreq_data wrqu;
@@ -874,7 +874,7 @@ void hostif_associate_indication(struct ks_wlan_private *priv)
        static const char associnfo_leader0[] = "ASSOCINFO(ReqIEs=";
        static const char associnfo_leader1[] = " RespIEs=";
 
-       assoc_req = (struct association_request_t *)(priv->rxp);
+       assoc_req = (struct association_request *)(priv->rxp);
        assoc_resp = (struct association_response_t *)(assoc_req + 1);
        pb = (unsigned char *)(assoc_resp + 1);
 
index 95b813379b98093243dc3b850b2311b429d33869..30571ef0a4185375188f84501c93bc94eeba94f2 100644 (file)
@@ -381,7 +381,7 @@ struct hostif_adhoc_set2_request {
        u8 bssid[ETH_ALEN];
 } __packed;
 
-struct association_request_t {
+struct association_request {
        u8 type;
        u8 pad;
        __le16 capability;
@@ -401,7 +401,7 @@ struct association_response_t {
 
 struct hostif_associate_indication_t {
        struct hostif_hdr header;
-       struct association_request_t assoc_req;
+       struct association_request assoc_req;
        struct association_response_t assoc_resp;
        /* followed by (req_ies_size + resp_ies_size) octets of data */
        /* reqIEs data *//* respIEs data */