diff options
| author | Colin Ian King <[email protected]> | 2017-11-09 08:54:13 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2017-11-29 16:43:48 +1100 |
| commit | d7fc6cfdf1efaafbd708c08f0be44d71bb9f7fde (patch) | |
| tree | 25668f0037fc86290c15dca09dfbe867affa3a03 /tools/perf/scripts/python/bin | |
| parent | 0c2616a7d9d2d3b35507258b730e0fa76c5bf09d (diff) | |
crypto: chelsio - remove redundant assignments to reqctx and dst_size
Pointer reqctx is assigned the same value twice, once on initialization
and again a few statements later, remove the second redundant assignment.
Variable dst_size is assigned but it is never read, so the variable is
redundant and can be removed. Cleans up clang warnings:
drivers/crypto/chelsio/chcr_algo.c:156:29: warning: Value stored to
'reqctx' during its initialization is never read
drivers/crypto/chelsio/chcr_algo.c:2020:2: warning: Value stored to
'dst_size' is never read
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions