crypto: inside-secure - remove null check before kfree
authorHimanshu Jha <[email protected]>
Sat, 26 Aug 2017 21:15:30 +0000 (02:45 +0530)
committerHerbert Xu <[email protected]>
Fri, 22 Sep 2017 09:43:25 +0000 (17:43 +0800)
commit18fddf5fd2111dd670156b3dfb2dfed16d7889b4
tree25fdab180b94b4f0449cd353ff13ea48eda1c5c1
parentb8d3de85acb4434fb7fd5e7dee12204a55ff8fc2
crypto: inside-secure - remove null check before kfree

Kfree on NULL pointer is a no-op and therefore checking is redundant.

Signed-off-by: Himanshu Jha <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
drivers/crypto/inside-secure/safexcel_hash.c