d80211: remove initialization of unused xr structure members
Subsystems (3)
PATCH 1/1 d80211: remove initialization of unused xr structure members
The structure member xr_end was removed from d80211.h.
Signed-off-by David Kimdon <[email protected]>
drivers/net/wireless/d80211/rt2x00/rt2400pci.c +0 -5
@@ -2704,11 +2704,6 @@ static int rt2400pci_init_hw_modes(strucrt2400pci_init_hw_channels (rt2x00dev, hw->modes->channels);rt2400pci_init_hw_rates (rt2x00dev, hw->modes->rates); -/* -* xr_end is only used on Atheros cards. -*/ - hw->modes->xr_end =0 ; -return ieee80211_update_hw (net_dev, hw); exit_free_channels:
drivers/net/wireless/d80211/rt2x00/rt2500pci.c +0 -5
@@ -2989,11 +2989,6 @@ static int rt2500pci_init_hw_modes(strucrt2500pci_init_hw_channels (rt2x00dev, hw->modes[0 ].channels);rt2500pci_init_hw_rates (rt2x00dev, hw->modes[0 ].rates); -/* -* xr_end is only used on Atheros cards. -*/ - hw->modes->xr_end =0 ; -return ieee80211_update_hw (net_dev, hw); exit_free_channels:
drivers/net/wireless/d80211/rt2x00/rt61pci.c +0 -5
@@ -3501,11 +3501,6 @@ static int rt61pci_init_hw_modes(structrt61pci_init_hw_channels (rt2x00dev, hw->modes[0 ].channels);rt61pci_init_hw_rates (rt2x00dev, hw->modes[0 ].rates); -/* -* xr_end is only used on Atheros cards. -*/ - hw->modes->xr_end =0 ; -return ieee80211_update_hw (net_dev, hw); exit_free_channels:
--
Quoted 1 line · David Kimdon
The structure member
xr_endwas removed fromd80211.h.
John, please apply this after you pull from my tree (perhaps with a rt2x00 prefix in the subject instead of d80211?).
Thanks,
Jiri
Signature · 2 lines
Jiri Benc SUSE Labs
Hi,
Quoted 4 lines
Quoted 1 line
The structure member
xr_endwas removed fromd80211.h.John, please apply this after you pull from my tree (perhaps with a rt2x00 prefix in the subject instead of d80211?).
The patch itself looked good, but it doesn't fix rt2500usb and rt73usb, I will send a patch to fix the rt2x00 USB drivers shortly.
Ivo