diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2018-03-01 21:50:10 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-03-09 15:45:46 +0100 |
commit | 05a02578e51b899b3a4202d58ea27ae45abe6fd7 (patch) | |
tree | 9c9c2019ce2afd0561374678098ae3e17f0355b9 /block/blk-mq-pci.c | |
parent | crypto: chelsio - no csum offload for ipsec path (diff) | |
download | linux-05a02578e51b899b3a4202d58ea27ae45abe6fd7.tar.xz linux-05a02578e51b899b3a4202d58ea27ae45abe6fd7.zip |
crypto: omap-sham - Remove useless check for non-null request
ahash_request 'req' argument passed by the caller
omap_sham_handle_queue() cannot be NULL here because it is obtained from
non-NULL pointer via container_of().
This fixes smatch warning:
drivers/crypto/omap-sham.c:812 omap_sham_prepare_request() warn: variable dereferenced before check 'req' (see line 805)
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'block/blk-mq-pci.c')
0 files changed, 0 insertions, 0 deletions