Search Linux Wireless

Re: [PATCH 2/2] mac80211: removing shadowed sband

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2008-06-02 at 18:44 +0300, Tomas Winkler wrote:
> This patch removes doubly defined sband variable
 
>  	if ((info->flags & IEEE80211_TX_CTL_USE_RTS_CTS) ||
>  	    (info->flags & IEEE80211_TX_CTL_USE_CTS_PROTECT)) {
> -		struct ieee80211_supported_band *sband;
>  		struct ieee80211_rate *rate;
>  		s8 baserate = -1;
>  		int idx;

I guess we can remove the double assignment too since it's the same as
already done. I must have added that when doing the mechanical tx rate
idx changes. :/

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux