hwrng: intel - cleanup initialization
authorTom Rix <trix@redhat.com>
Sun, 9 Aug 2020 15:04:23 +0000 (08:04 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Aug 2020 04:47:49 +0000 (14:47 +1000)
commit3a61cdf43e670b99404436a5854aae993ef616ed
tree70f74889cfd2c08bf7baf1347b364545ce424b33
parentabd9875497ba47e198fb565f11d5f332eeb08ab3
hwrng: intel - cleanup initialization

clang static analysis reports this problem

intel-rng.c:333:2: warning: Assigned value is garbage or undefined
        void __iomem *mem = mem;
        ^~~~~~~~~~~~~~~~~   ~~~

Because mem is assigned before it is used, this is not
a real problem.  But the initialization is strange and not
needed, so remove it.

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/intel-rng.c