]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: ks7010: Remove trailing _t from 'struct hostif_adhoc_set2_request_t'.
authorQuytelda Kahja <quytelda@tamalin.org>
Sat, 31 Mar 2018 06:08:17 +0000 (23:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 12:15:23 +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_adhoc_set2_request_t' with 'struct
hostif_adhoc_set2_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 93859aa8cc64b56bcf5c652758812269020501db..2956f8d8b9f37692d9c22637e8bd76a1853a41fb 100644 (file)
@@ -1404,7 +1404,7 @@ void hostif_adhoc_set_request(struct ks_wlan_private *priv)
 static
 void hostif_adhoc_set2_request(struct ks_wlan_private *priv)
 {
-       struct hostif_adhoc_set2_request_t *pp;
+       struct hostif_adhoc_set2_request *pp;
 
        pp = hostif_generic_request(sizeof(*pp), HIF_ADH_SET_REQ);
        if (!pp)
index dad74043b0d5a27acfae8922332a09aa67dcb969..239e1a7abe04c759b1efd61a2535a5909c840ec8 100644 (file)
@@ -366,13 +366,13 @@ struct hostif_adhoc_set_request {
 } __packed;
 
 /**
- * struct hostif_adhoc_set2_request_t
+ * struct hostif_adhoc_set2_request
  * @capability: bit5  : preamble
  *              bit6  : pbcc - Not supported always 0
  *              bit10 : ShortSlotTime
  *              bit13 : DSSS-OFDM - Not supported always 0
  */
-struct hostif_adhoc_set2_request_t {
+struct hostif_adhoc_set2_request {
        struct hostif_hdr header;
        struct hostif_request request;
        __le16 reserved;