diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2015-06-26 21:30:11 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-29 11:06:29 +0300 |
commit | 12a4bd3122747eae2941f0be38119affb52c2e12 (patch) | |
tree | 01d164d7167c7d59a647a9fc1d6ac289650ec034 /COPYING | |
parent | 44a17ef872fa8f754626aa578c8d05301c905b86 (diff) | |
download | linux-12a4bd3122747eae2941f0be38119affb52c2e12.tar.xz |
crypto: qat - Deletion of unnecessary checks before two function calls
The functions kfree() and release_firmware() test whether their argument
is NULL and then return immediately.
Thus the test around the calls is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions