hwrng: core - remove redundant initialization of variable err
authorShaokun Zhang <zhangshaokun@hisilicon.com>
Thu, 20 May 2021 07:56:11 +0000 (15:56 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 28 May 2021 07:11:44 +0000 (15:11 +0800)
commitcb028f1662a9910d4b8e3fbe9eb38f7a545540a3
treea5480997bccfb081eac6d8f1884e9e741d87b978
parent5c0ecc2e81ecfd9eba8a4945d49c401615c167ca
hwrng: core - remove redundant initialization of variable err

'err' will be assigned later and cleanup the redundant initialization.

Cc: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/core.c