diff options
author | Gertjan van Wingerde <gwingerde@gmail.com> | 2012-09-23 20:22:53 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-09-25 21:57:43 +0200 |
commit | 3e4c4151e56ff367fb1487ea79134eea74104077 (patch) | |
tree | be677a3f904881307385a91c98ca62bf7e284373 /drivers/net/wireless/rt2x00/rt2400pci.c | |
parent | mwifiex: potential corruption in mwifiex_update_uap_custom_ie() (diff) | |
download | linux-3e4c4151e56ff367fb1487ea79134eea74104077.tar.xz linux-3e4c4151e56ff367fb1487ea79134eea74104077.zip |
rt2x00: Deprecate max_sta_intf field of struct rt2x00_ops.
All drivers set this value to 1, so there is no need (currently) to let
drivers set this.
Therefor, remove the field; we can always add it back when it is needed.
Inspired by an earlier patch from Paul Fertser.
Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Cc: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2400pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2400pci.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c index 6458ab87717b..e3a2d9070cf6 100644 --- a/drivers/net/wireless/rt2x00/rt2400pci.c +++ b/drivers/net/wireless/rt2x00/rt2400pci.c @@ -1789,7 +1789,6 @@ static const struct data_queue_desc rt2400pci_queue_atim = { static const struct rt2x00_ops rt2400pci_ops = { .name = KBUILD_MODNAME, - .max_sta_intf = 1, .max_ap_intf = 1, .eeprom_size = EEPROM_SIZE, .rf_size = RF_SIZE, |