hwrng: don't init list element we're about to add to list.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 8 Dec 2014 08:50:40 +0000 (16:50 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 22 Dec 2014 12:02:41 +0000 (23:02 +1100)
commit2d2ec0642a85966b6a299bbcd94707982327ace8
tree8145fcdb8eb9e27f3d6c23ba1999d69a92de1e21
parentebbbfa248389b176e2e62d8cf91814253849ccc9
hwrng: don't init list element we're about to add to list.

Another interesting anti-pattern.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/core.c