commit | 12a4bd3122747eae2941f0be38119affb52c2e12 | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Fri Jun 26 20:30:11 2015 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Mon Jun 29 16:06:29 2015 +0800 |
tree | 01d164d7167c7d59a647a9fc1d6ac289650ec034 | |
parent | 44a17ef872fa8f754626aa578c8d05301c905b86 [diff] |
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>