Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1447001

RE: linux-next: build warning after merge of the wireless-drivers-next tree

From "Reizer, Eyal" <eyalr@ti.com>
Newsgroups linux.kernel
Subject RE: linux-next: build warning after merge of the wireless-drivers-next tree
Date 2016-07-20 08:20 +0200
Message-ID <rWT1n-6cr-3@gated-at.bofh.it> (permalink)
References <rWPqN-3P2-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Stephen,

> 
> After merging the wireless-drivers-next tree, today's linux-next build
> (x86_64 allmodconfig) produced this warning:
> 
> drivers/net/wireless/ti/wlcore/spi.c: In function 'wlcore_probe_of':
> drivers/net/wireless/ti/wlcore/spi.c:457:6: warning: unused variable 'ret' [-
> Wunused-variable]
>   int ret;
>       ^
> 
> Introduced by commit
> 
>   01efe65aba65 ("wlcore: spi: add wl18xx support")
> 
Of course you are right. It is indeed redundant now.
Don't know how I have missed it. Don't remember seeing a warning from the tool chain I have used.
Anyway ,will submit an amended patch soon.

Best Regards,
Eyal

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

linux-next: build warning after merge of the wireless-drivers-next  tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-07-20 04:30 +0200
  RE: linux-next: build warning after merge of the  wireless-drivers-next tree "Reizer, Eyal" <eyalr@ti.com> - 2016-07-20 08:20 +0200
    Re: linux-next: build warning after merge of the wireless-drivers-next tree Kalle Valo <kvalo@codeaurora.org> - 2016-07-20 20:50 +0200

csiph-web