crypto: cavium - clean up clang warning on unread variable offset
authorColin Ian King <colin.king@canonical.com>
Thu, 12 Oct 2017 16:44:06 +0000 (17:44 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Nov 2017 13:53:30 +0000 (21:53 +0800)
commit2f1fedca9b97e87413db52c54745e9cc28b70169
tree72ca81fde2296eb9d135edb7fb8774691e7bc83c
parent27b43fd95b144484713855c6d4fe832d22e48838
crypto: cavium - clean up clang warning on unread variable offset

The variable offset is being assigned and not being used; it should
be passed as the 2nd argument to call to function nitrox_write_csr
but has been omitted. Fix this.

Cleans up clang warning: Value stored to 'offset' is never read

Fixes: 14fa93cdcd9b ("crypto: cavium - Add support for CNN55XX adapters.")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/cavium/nitrox/nitrox_hal.c