diff options
author | Peter Senna Tschudin | 2014-07-16 18:13:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-07-16 22:30:32 +0200 |
commit | 879be45aeaa433daa5b848e5c3bc66f85ed6bf4a (patch) | |
tree | bb8d4654651864a4b5d4ae0c60bc8f72cf09a090 /drivers/staging/vt6656/card.h | |
parent | staging: xillybus: fix some coding style errors (diff) | |
download | kernel-qcow2-linux-879be45aeaa433daa5b848e5c3bc66f85ed6bf4a.tar.gz kernel-qcow2-linux-879be45aeaa433daa5b848e5c3bc66f85ed6bf4a.tar.xz kernel-qcow2-linux-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.h | 7 |
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) |