summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/caam/ctrl.c
diff options
context:
space:
mode:
authorVakul Garg <vakul.garg@nxp.com>2019-03-22 03:00:35 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2019-03-28 06:55:34 +0100
commit1b30b989cbea4052302bc304cc6179ee2f33ea9b (patch)
treeb47b3e7833527f6df70dd910df0e53f4a7ca118c /drivers/crypto/caam/ctrl.c
parentcrypto: caam/jr - Remove spinlock for output job ring (diff)
downloadlinux-1b30b989cbea4052302bc304cc6179ee2f33ea9b.tar.xz
linux-1b30b989cbea4052302bc304cc6179ee2f33ea9b.zip
crypto: caam/jr - Removed redundant vars from job ring private data
For each job ring, the variable 'ringsize' is initialised but never used. Similarly variables 'inp_ring_write_index' and 'head' always track the same value and instead of 'inp_ring_write_index', caam_jr_enqueue() can use 'head' itself. Both these variables have been removed. Signed-off-by: Vakul Garg <vakul.garg@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/ctrl.c')
0 files changed, 0 insertions, 0 deletions