Search Linux Wireless

Re: [PATCH] mac80211: remove useless sdata variable

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

 




> Perhaps because it is used?
> 
> > --- everything.orig/net/mac80211/ieee80211_sta.c	2007-12-21 01:02:11.253160428 +0100
> > +++ everything/net/mac80211/ieee80211_sta.c	2007-12-21 01:02:32.113165907 +0100
> > @@ -458,12 +458,10 @@ static void ieee80211_set_associated(str
> >  		return;
> >  
> >  	if (assoc) {
> > -		struct ieee80211_sub_if_data *sdata;

Too little context. There's another one in the surrounding scope that is
already initialised exactly the same.

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