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


Groups > linux.kernel > #1160004

Re: [PATCH] wan: dscc4: fix build warning Wunused-but-set-variable

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] wan: dscc4: fix build warning Wunused-but-set-variable
Date 2015-06-07 09:20 +0200
Message-ID <pyD29-z5-3@gated-at.bofh.it> (permalink)
References <pyhXI-3eH-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Nicholas Mc Guire <hofrat@osadl.org>
Date: Sat,  6 Jun 2015 10:41:17 +0200

> Fix:
> drivers/net/wan/dscc4.c: In function 'dscc4_open':
> drivers/net/wan/dscc4.c:1049:25: warning: variable 'ppriv' set but not used
> [-Wunused-but-set-variable]
> 
> This has been in there unused since 1da177e4c3f (Linux-2.6.12-rc2) simply
> remove it.
> 
> Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

Re: [PATCH] wan: dscc4: fix build warning Wunused-but-set-variable David Miller <davem@davemloft.net> - 2015-06-07 09:20 +0200

csiph-web