Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1311749
| From | Florian Fainelli <f.fainelli@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/4] hw_random: bcm63xx-rng: remove unused variables |
| Date | 2016-01-18 20:10 +0100 |
| Message-ID | <qSnlE-4YU-15@gated-at.bofh.it> (permalink) |
| References | <qRRvt-sF-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Le 17/01/2016 01:03, Álvaro Fernández Rojas a écrit :
> 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>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
--
Florian
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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