summaryrefslogtreecommitdiff
path: root/drivers/crypto/cavium/zip/zip_main.h
diff options
context:
space:
mode:
authorJan Glauber <jglauber@cavium.com>2018-04-09 18:45:53 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2018-04-20 19:58:35 +0300
commit1cc7e01ff977770ce0651f4d347a84e360835c3b (patch)
tree33811a8d24d116ab032672f690f56e73040b0be6 /drivers/crypto/cavium/zip/zip_main.h
parenta40c88045506ecba8e3ae75da19e8a2c53e23a41 (diff)
downloadlinux-1cc7e01ff977770ce0651f4d347a84e360835c3b.tar.xz
crypto: cavium - Fix statistics pending request value
The pending request counter was read from the wrong register. While at it, there is no need to use an atomic for it as it is only read localy in a loop. Signed-off-by: Jan Glauber <jglauber@cavium.com> Reviewed-by: Robert Richter <rrichter@cavium.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/cavium/zip/zip_main.h')
-rw-r--r--drivers/crypto/cavium/zip/zip_main.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/cavium/zip/zip_main.h b/drivers/crypto/cavium/zip/zip_main.h
index 64e051f60784..e1e4fa92ce80 100644
--- a/drivers/crypto/cavium/zip/zip_main.h
+++ b/drivers/crypto/cavium/zip/zip_main.h
@@ -74,7 +74,6 @@ struct zip_stats {
atomic64_t comp_req_complete;
atomic64_t decomp_req_submit;
atomic64_t decomp_req_complete;
- atomic64_t pending_req;
atomic64_t comp_in_bytes;
atomic64_t comp_out_bytes;
atomic64_t decomp_in_bytes;