summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2014-07-16 21:22:09 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-18 01:01:53 (GMT)
commit71503b3ed6606c94668eb923df2aeaa49e8e6ac8 (patch)
treee890300f201ced9fa73ae369dcc7f11d016cf64a
parenteb734a6aaa3f47d20db272d73d918e8d4f80f494 (diff)
downloadlinux-71503b3ed6606c94668eb923df2aeaa49e8e6ac8.tar.xz
staging: vt6656: main_usb remove dead module params macros
All these macros relate to module parameters already removed Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/vt6656/main_usb.c49
1 files changed, 0 insertions, 49 deletions
diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c
index 0e65795..4bcdf8e 100644
--- a/drivers/staging/vt6656/main_usb.c
+++ b/drivers/staging/vt6656/main_usb.c
@@ -82,51 +82,9 @@ static int vnt_tx_buffers = TX_DESC_DEF0;
module_param_named(tx_buffers, vnt_rx_buffers, int, 0644);
MODULE_PARM_DESC(tx_buffers, "Number of receive usb tx buffers");
-
-#define CHANNEL_DEF 6
-
-/* PreambleType[] is the preamble length used for transmit.
- 0: indicate allows long preamble type
- 1: indicate allows short preamble type
-*/
-
-#define PREAMBLE_TYPE_DEF 1
#define RTS_THRESH_DEF 2347
#define FRAG_THRESH_DEF 2346
-#define DATA_RATE_DEF 13
-/* datarate[] index
- 0: indicate 1 Mbps 0x02
- 1: indicate 2 Mbps 0x04
- 2: indicate 5.5 Mbps 0x0B
- 3: indicate 11 Mbps 0x16
- 4: indicate 6 Mbps 0x0c
- 5: indicate 9 Mbps 0x12
- 6: indicate 12 Mbps 0x18
- 7: indicate 18 Mbps 0x24
- 8: indicate 24 Mbps 0x30
- 9: indicate 36 Mbps 0x48
- 10: indicate 48 Mbps 0x60
- 11: indicate 54 Mbps 0x6c
- 12: indicate 72 Mbps 0x90
- 13: indicate auto rate
-*/
-#define OP_MODE_DEF 0
-
-/* OpMode[] is used for transmit.
- 0: indicate infrastruct mode used
- 1: indicate adhoc mode used
- 2: indicate AP mode used
-*/
-
-/* PSMode[]
- 0: indicate disable power saving mode
- 1: indicate enable power saving mode
-*/
-
-#define PS_MODE_DEF 0
-
#define SHORT_RETRY_DEF 8
-
#define LONG_RETRY_DEF 4
/* BasebandType[] baseband type selected
@@ -137,13 +95,6 @@ MODULE_PARM_DESC(tx_buffers, "Number of receive usb tx buffers");
#define BBP_TYPE_DEF 2
-/* 80211hEnable[]
- 0: indicate disable 802.11h
- 1: indicate enable 802.11h
-*/
-
-#define X80211h_MODE_DEF 0
-
/*
* Static vars definitions
*/