crypto: algif_rng - remove redundant assignment to variable err
authorColin Ian King <colin.king@canonical.com>
Wed, 15 Apr 2020 23:03:58 +0000 (00:03 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 24 Apr 2020 07:42:16 +0000 (17:42 +1000)
commit63e05f3275172283fd0020dba678ef8eca869ef7
tree770b52c9e56efec1036c626b94f45de30e6207c1
parent8a656a48f75f193b901efe14326663505874c37a
crypto: algif_rng - remove redundant assignment to variable err

The variable err is being initialized with a value that is never read
and it is being updated later with a new value.  The initialization is
redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/algif_rng.c