staging: rtl8188eu: rtw_io.h: Remove unused structures
authornavin patidar <navin.patidar@gmail.com>
Fri, 6 Jun 2014 16:15:17 +0000 (21:45 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 22:32:10 +0000 (15:32 -0700)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/rtw_io.h

index e30b84bd48e2e749d43bccd83590a9374f2da90e..e56c52b43d4dcbe65a1ed7dd6a8178e26903755b 100644 (file)
@@ -142,91 +142,6 @@ struct     intf_hdl {
        struct _io_ops  io_ops;
 };
 
-struct reg_protocol_rd {
-#ifdef __LITTLE_ENDIAN
-       /* DW1 */
-       u32             NumOfTrans:4;
-       u32             Reserved1:4;
-       u32             Reserved2:24;
-       /* DW2 */
-       u32             ByteCount:7;
-       u32             WriteEnable:1;          /* 0:read, 1:write */
-       u32             FixOrContinuous:1;      /* 0:continuous, 1: Fix */
-       u32             BurstMode:1;
-       u32             Byte1Access:1;
-       u32             Byte2Access:1;
-       u32             Byte4Access:1;
-       u32             Reserved3:3;
-       u32             Reserved4:16;
-       /* DW3 */
-       u32             BusAddress;
-       /* DW4 */
-       /* u32          Value; */
-#else
-/* DW1 */
-       u32 Reserved1:4;
-       u32 NumOfTrans:4;
-       u32 Reserved2:24;
-       /* DW2 */
-       u32 WriteEnable:1;
-       u32 ByteCount:7;
-       u32 Reserved3:3;
-       u32 Byte4Access:1;
-
-       u32 Byte2Access:1;
-       u32 Byte1Access:1;
-       u32 BurstMode:1;
-       u32 FixOrContinuous:1;
-       u32 Reserved4:16;
-       /* DW3 */
-       u32     BusAddress;
-
-       /* DW4 */
-#endif
-};
-
-struct reg_protocol_wt {
-#ifdef __LITTLE_ENDIAN
-       /* DW1 */
-       u32     NumOfTrans:4;
-       u32     Reserved1:4;
-       u32     Reserved2:24;
-       /* DW2 */
-       u32     ByteCount:7;
-       u32     WriteEnable:1;          /* 0:read, 1:write */
-       u32     FixOrContinuous:1;      /* 0:continuous, 1: Fix */
-       u32     BurstMode:1;
-       u32     Byte1Access:1;
-       u32     Byte2Access:1;
-       u32     Byte4Access:1;
-       u32     Reserved3:3;
-       u32     Reserved4:16;
-       /* DW3 */
-       u32     BusAddress;
-       /* DW4 */
-       u32     Value;
-#else
-       /* DW1 */
-       u32 Reserved1:4;
-       u32 NumOfTrans:4;
-       u32 Reserved2:24;
-       /* DW2 */
-       u32 WriteEnable:1;
-       u32 ByteCount:7;
-       u32 Reserved3:3;
-       u32 Byte4Access:1;
-       u32 Byte2Access:1;
-       u32 Byte1Access:1;
-       u32 BurstMode:1;
-       u32 FixOrContinuous:1;
-       u32 Reserved4:16;
-       /* DW3 */
-       u32     BusAddress;
-       /* DW4 */
-       u32     Value;
-#endif
-};
-
 /*
 Below is the data structure used by _io_handler
 */