]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: algboss - remove redundant setting of len to zero
authorColin Ian King <colin.king@canonical.com>
Thu, 14 Sep 2017 18:02:19 +0000 (19:02 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 7 Oct 2017 04:10:34 +0000 (12:10 +0800)
commitdad35090208414e2554492bee58ef926766f38f0
treeae4dc900a226feef58a4c856d1a175e78157fd9c
parent6d3244242517f731335c4d0b6f64aed334f39952
crypto: algboss - remove redundant setting of len to zero

The variable len is set to zero, never read and then later updated
to p - name, so clearly the zero'ing of len is redundant and
can be removed.

Detected by clang scan-build:
" warning: Value stored to 'len' is never read"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/algboss.c