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


Groups > linux.kernel > #1316776

Re: [PATCH 1/4] hw_random: bcm63xx-rng: remove unused variables

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: [PATCH 1/4] hw_random: bcm63xx-rng: remove unused variables
Date 2016-01-25 15:50 +0100
Message-ID <qUQCS-5sa-27@gated-at.bofh.it> (permalink)
References <qRRvt-sF-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Jan 17, 2016 at 10:03:54AM +0100, Álvaro Fernández Rojas wrote:
> These variables where left as unused in commit 6229c16060fe
> ("hwrng: bcm63xx - make use of devm_hwrng_register")
> 
> Fixes the following warning:
> drivers/char/hw_random/bcm63xx-rng.c: In function 'bcm63xx_rng_probe':
> drivers/char/hw_random/bcm63xx-rng.c:85:16: warning: unused variable 'rng'
> [-Wunused-variable]
>   struct hwrng *rng;
>                 ^
> drivers/char/hw_random/bcm63xx-rng.c:82:14: warning: unused variable 'clk'
> [-Wunused-variable]
>   struct clk *clk;
> 
> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

All applied.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

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


Thread

[PATCH 1/4] hw_random: bcm63xx-rng: remove unused variables Álvaro Fernández Rojas   <noltari@gmail.com> - 2016-01-17 10:10 +0100
  Re: [PATCH 1/4] hw_random: bcm63xx-rng: remove unused variables Florian Fainelli <f.fainelli@gmail.com> - 2016-01-18 20:10 +0100
  Re: [PATCH 1/4] hw_random: bcm63xx-rng: remove unused variables Herbert Xu <herbert@gondor.apana.org.au> - 2016-01-25 15:50 +0100

csiph-web