aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/card.h
diff options
context:
space:
mode:
authorPeter Senna Tschudin <peter.senna@gmail.com>2014-07-16 18:13:43 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-16 13:30:32 -0700
commit879be45aeaa433daa5b848e5c3bc66f85ed6bf4a (patch)
treebb8d4654651864a4b5d4ae0c60bc8f72cf09a090 /drivers/staging/vt6656/card.h
parentstaging: xillybus: fix some coding style errors (diff)
downloadlinux-dev-879be45aeaa433daa5b848e5c3bc66f85ed6bf4a.tar.xz
linux-dev-879be45aeaa433daa5b848e5c3bc66f85ed6bf4a.zip
staging: vt6556: Remove typedefs
This patch removes uneeded typedefs reported by chackpatch and removes one enum that is not in use. As checkpatch complained about the typedef and the enum is not being used, this patch removes both typedef and enum. The removed enum from card.h: typedef enum _CARD_PHY_TYPE { PHY_TYPE_AUTO = 0, PHY_TYPE_11B, PHY_TYPE_11G, PHY_TYPE_11A } CARD_PHY_TYPE, *PCARD_PHY_TYPE; The following typedefs were removed, but enums were kept at device.h: typedef enum __device_msg_level typedef enum __DEVICE_NDIS_STATUS Tested by compilation only. Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/card.h')
-rw-r--r--drivers/staging/vt6656/card.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/vt6656/card.h b/drivers/staging/vt6656/card.h
index 80fcd531207c..03fc1678896b 100644
--- a/drivers/staging/vt6656/card.h
+++ b/drivers/staging/vt6656/card.h
@@ -32,13 +32,6 @@
/* init card type */
-typedef enum _CARD_PHY_TYPE {
- PHY_TYPE_AUTO = 0,
- PHY_TYPE_11B,
- PHY_TYPE_11G,
- PHY_TYPE_11A
-} CARD_PHY_TYPE, *PCARD_PHY_TYPE;
-
#define CB_MAX_CHANNEL_24G 14
#define CB_MAX_CHANNEL_5G 42 /* add channel9(5045MHz), 41==>42 */
#define CB_MAX_CHANNEL (CB_MAX_CHANNEL_24G + CB_MAX_CHANNEL_5G)