staging: ks7010: Remove trailing _t from 'struct association_response_t'.
authorQuytelda Kahja <quytelda@tamalin.org>
Sat, 31 Mar 2018 06:08:21 +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_response_t' with 'struct
association_response'.

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 9d6dcfd9858fce2d36e485c1819f8fe14973aba1..8d4705c8b8462c9bf26c69de936a49ed3ce305da 100644 (file)
@@ -864,7 +864,7 @@ static
 void hostif_associate_indication(struct ks_wlan_private *priv)
 {
        struct association_request *assoc_req;
-       struct association_response_t *assoc_resp;
+       struct association_response *assoc_resp;
        unsigned char *pb;
        union iwreq_data wrqu;
        char buf[IW_CUSTOM_MAX];
@@ -875,7 +875,7 @@ void hostif_associate_indication(struct ks_wlan_private *priv)
        static const char associnfo_leader1[] = " RespIEs=";
 
        assoc_req = (struct association_request *)(priv->rxp);
-       assoc_resp = (struct association_response_t *)(assoc_req + 1);
+       assoc_resp = (struct association_response *)(assoc_req + 1);
        pb = (unsigned char *)(assoc_resp + 1);
 
        memset(&wrqu, 0, sizeof(wrqu));
index 30571ef0a4185375188f84501c93bc94eeba94f2..4d958fa3d6ef254de6c40271bd8032ffd4d0ea90 100644 (file)
@@ -390,7 +390,7 @@ struct association_request {
        __le16 req_ies_size;
 } __packed;
 
-struct association_response_t {
+struct association_response {
        u8 type;
        u8 pad;
        __le16 capability;
@@ -402,7 +402,7 @@ struct association_response_t {
 struct hostif_associate_indication_t {
        struct hostif_hdr header;
        struct association_request assoc_req;
-       struct association_response_t assoc_resp;
+       struct association_response assoc_resp;
        /* followed by (req_ies_size + resp_ies_size) octets of data */
        /* reqIEs data *//* respIEs data */
 } __packed;