staging: wilc1000: remove typedef from the struct tstrHostIfRegisterFrame
authorTony Cho <tony.cho@atmel.com>
Mon, 21 Sep 2015 03:16:59 +0000 (12:16 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 06:00:27 +0000 (23:00 -0700)
This patch removes typedef from the struct tstrHostIfRegisterFrame and
renames it to reg_frame in order to comply with the Linux coding style.

Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/host_interface.h

index df0077e02a9c4e9013c71f47857ae1d903b79746..2cc01dcb11d83d5b76ed60642f4697538f73725d 100644 (file)
@@ -437,7 +437,7 @@ union message_body {
        struct get_mac_addr strHostIfGetMacAddress;
        struct ba_session_info strHostIfBASessionInfo;
        struct remain_ch strHostIfRemainOnChan;
-       tstrHostIfRegisterFrame strHostIfRegisterFrame;
+       struct reg_frame strHostIfRegisterFrame;
        char *pUserData;
        tstrHostIFDelAllSta strHostIFDelAllSta;
 };
@@ -3862,7 +3862,8 @@ ERRORHANDLER:
  *  @date
  *  @version   1.0
  */
-static int Handle_RegisterFrame(tstrWILC_WFIDrv *drvHandler, tstrHostIfRegisterFrame *pstrHostIfRegisterFrame)
+static int Handle_RegisterFrame(tstrWILC_WFIDrv *drvHandler,
+                               struct reg_frame *pstrHostIfRegisterFrame)
 {
        s32 s32Error = 0;
        tstrWID strWID;
index e0fc27ffe5ce0d1df20257a6dd63805ba206c01e..c96fff998e26044b33439ca48541f8b7212181b3 100644 (file)
@@ -287,14 +287,11 @@ struct remain_ch {
        u32 u32ListenSessionID;
 };
 
-typedef struct {
-
+struct reg_frame {
        bool bReg;
        u16 u16FrameType;
        u8 u8Regid;
-
-
-} tstrHostIfRegisterFrame;
+};
 
 
 #define ACTION                 0xD0
This page took 0.028278 seconds and 5 git commands to generate.