staging: rtl8187se: Delete typedef _ThreeWire
authorAna Rey <anarey@gmail.com>
Fri, 7 Mar 2014 08:23:59 +0000 (09:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Mar 2014 00:16:33 +0000 (16:16 -0800)
The Documentation/CodingStyle doesn't recommend the use of typedef, and
The typedef _ThreeWire is not used in the driver. I delete it.

Signed-off-by: Ana Rey <anarey@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8187se/r8180.h

index 4f17bd9c38df1f7e71814c5a2ed3c11363664268..59237a5cd135e3b8f7aa8a80cd0eb3a1555f4797 100644 (file)
@@ -152,21 +152,6 @@ typedef union _AC_PARAM {
  * } ThreeWireReg;
  */
 
-typedef union _ThreeWire {
-       struct _ThreeWireStruc {
-               u16 data:1;
-               u16 clk:1;
-               u16 enableB:1;
-               u16 read_write:1;
-               u16 resv1:12;
-               /* u2Byte resv2:14; */
-               /* u2Byte ThreeWireEnable:1; */
-               /* u2Byte resv3:1; */
-       } struc;
-       u16 longData;
-} ThreeWireReg;
-
-
 struct buffer {
        struct buffer *next;
        u32 *buf;