RE: [mac80211-next:wip 31/37] net/mac80211/chan.c:210:26: warning: unused variable 'local'

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

 



You're so quick with this ... yes, I'm still working on the patches :)

johannes

> -----Original Message-----
> From: Wu, Fengguang
> Sent: Wednesday, July 25, 2012 2:14 PM
> To: Michal Kazior
> Cc: kernel-janitors@xxxxxxxxxxxxxxx; Berg, Johannes
> Subject: [mac80211-next:wip 31/37] net/mac80211/chan.c:210:26: warning:
> unused variable 'local'
> 
> Hi Michal,
> 
> There are new compile warnings show up in
> 
> tree:   mac80211-next/wip wip
> head:   508c78c0703016c1c83f9d4633befa28f78f9fb9
> commit: b324ecb5a1a68353cebb258860c2a2e8dd33452c [31/37] mac80211:
> introduce channel context skeleton code
> config: x86_64-randconfig-s004 (attached as .config)
> 
> All warnings:
> 
> net/mac80211/chan.c: In function 'ieee80211_assign_vif_chanctx':
> net/mac80211/chan.c:210:26: warning: unused variable 'local' [-Wunused-
> variable]
> net/mac80211/chan.c: In function 'ieee80211_unassign_vif_chanctx':
> net/mac80211/chan.c:221:26: warning: unused variable 'local' [-Wunused-
> variable]
> 
> vim +210 net/mac80211/chan.c
>    207	static void ieee80211_assign_vif_chanctx(struct
> ieee80211_sub_if_data *sdata,
>    208						 struct ieee80211_chanctx
> *ctx)
>    209	{
>  > 210		struct ieee80211_local *local = sdata->local;
>    211
>    212		lockdep_assert_held(&local->chanctx_mtx);
>    213
> 
> ---
> 0-DAY kernel build testing backend         Open Source Technology Centre
> Fengguang Wu <wfg@xxxxxxxxxxxxxxx>                     Intel Corporation
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer, Christian Lamprechter
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052

--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux