From: Ana Rey Date: Fri, 7 Mar 2014 08:23:59 +0000 (+0100) Subject: staging: rtl8187se: Delete typedef _ThreeWire X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=43f82a6a6e8df4c8ee69e235cfe3dd625a725c6c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: rtl8187se: Delete typedef _ThreeWire 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8187se/r8180.h b/drivers/staging/rtl8187se/r8180.h index 4f17bd9c38df..59237a5cd135 100644 --- a/drivers/staging/rtl8187se/r8180.h +++ b/drivers/staging/rtl8187se/r8180.h @@ -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;