commit | 1b30b989cbea4052302bc304cc6179ee2f33ea9b | [log] [tgz] |
---|---|---|
author | Vakul Garg <vakul.garg@nxp.com> | Fri Mar 22 02:00:35 2019 +0000 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Mar 28 13:55:34 2019 +0800 |
tree | b47b3e7833527f6df70dd910df0e53f4a7ca118c | |
parent | a118dfa0dbfcc8e95833b4bb7d83271ba85cf397 [diff] |
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>