diff options
author | Reinette Chatre <reinette.chatre@intel.com> | 2009-10-23 16:42:30 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:50:02 -0400 |
commit | 6c5cd9d524a3393f6450ee523f4a942d4404f7de (patch) | |
tree | d70d0cd6135687ca4e98885d2457efd2ea6e2317 /drivers/net | |
parent | 4a56e9652ec2ffce87b099aa2fc5b4eb2d5b2666 (diff) |
iwlwifi: remove duplicate defines
RX_FREE_BUFFERS and RX_LOW_WATERMARK are currently defined in four places.
Based on how files are included we only need the definition in iwl-fh.h
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Reported-by: Frans Pop <elendil@planet.nl>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945-hw.h | 6 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945.h | 6 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 6 |
3 files changed, 0 insertions, 18 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-hw.h b/drivers/net/wireless/iwlwifi/iwl-3945-hw.h index ccdac69838dd..6fd10d443ba3 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945-hw.h +++ b/drivers/net/wireless/iwlwifi/iwl-3945-hw.h | |||
@@ -248,12 +248,6 @@ struct iwl3945_eeprom { | |||
248 | #define TFD_CTL_PAD_SET(n) (n << 28) | 248 | #define TFD_CTL_PAD_SET(n) (n << 28) |
249 | #define TFD_CTL_PAD_GET(ctl) (ctl >> 28) | 249 | #define TFD_CTL_PAD_GET(ctl) (ctl >> 28) |
250 | 250 | ||
251 | /* | ||
252 | * RX related structures and functions | ||
253 | */ | ||
254 | #define RX_FREE_BUFFERS 64 | ||
255 | #define RX_LOW_WATERMARK 8 | ||
256 | |||
257 | /* Sizes and addresses for instruction and data memory (SRAM) in | 251 | /* Sizes and addresses for instruction and data memory (SRAM) in |
258 | * 3945's embedded processor. Driver access is via HBUS_TARG_MEM_* regs. */ | 252 | * 3945's embedded processor. Driver access is via HBUS_TARG_MEM_* regs. */ |
259 | #define IWL39_RTC_INST_LOWER_BOUND (0x000000) | 253 | #define IWL39_RTC_INST_LOWER_BOUND (0x000000) |
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.h b/drivers/net/wireless/iwlwifi/iwl-3945.h index 964c01980ac0..ebb999a51b58 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.h +++ b/drivers/net/wireless/iwlwifi/iwl-3945.h | |||
@@ -130,12 +130,6 @@ struct iwl3945_frame { | |||
130 | #define SN_TO_SEQ(ssn) (((ssn) << 4) & IEEE80211_SCTL_SEQ) | 130 | #define SN_TO_SEQ(ssn) (((ssn) << 4) & IEEE80211_SCTL_SEQ) |
131 | #define MAX_SN ((IEEE80211_SCTL_SEQ) >> 4) | 131 | #define MAX_SN ((IEEE80211_SCTL_SEQ) >> 4) |
132 | 132 | ||
133 | /* | ||
134 | * RX related structures and functions | ||
135 | */ | ||
136 | #define RX_FREE_BUFFERS 64 | ||
137 | #define RX_LOW_WATERMARK 8 | ||
138 | |||
139 | #define SUP_RATE_11A_MAX_NUM_CHANNELS 8 | 133 | #define SUP_RATE_11A_MAX_NUM_CHANNELS 8 |
140 | #define SUP_RATE_11B_MAX_NUM_CHANNELS 4 | 134 | #define SUP_RATE_11B_MAX_NUM_CHANNELS 4 |
141 | #define SUP_RATE_11G_MAX_NUM_CHANNELS 12 | 135 | #define SUP_RATE_11G_MAX_NUM_CHANNELS 12 |
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index b520e551f7f8..e7ce67387662 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -407,12 +407,6 @@ struct iwl_host_cmd { | |||
407 | u8 id; | 407 | u8 id; |
408 | }; | 408 | }; |
409 | 409 | ||
410 | /* | ||
411 | * RX related structures and functions | ||
412 | */ | ||
413 | #define RX_FREE_BUFFERS 64 | ||
414 | #define RX_LOW_WATERMARK 8 | ||
415 | |||
416 | #define SUP_RATE_11A_MAX_NUM_CHANNELS 8 | 410 | #define SUP_RATE_11A_MAX_NUM_CHANNELS 8 |
417 | #define SUP_RATE_11B_MAX_NUM_CHANNELS 4 | 411 | #define SUP_RATE_11B_MAX_NUM_CHANNELS 4 |
418 | #define SUP_RATE_11G_MAX_NUM_CHANNELS 12 | 412 | #define SUP_RATE_11G_MAX_NUM_CHANNELS 12 |