crypto: n2 - remove null check before kfree
authorHimanshu Jha <[email protected]>
Sat, 26 Aug 2017 21:15:29 +0000 (02:45 +0530)
committerHerbert Xu <[email protected]>
Fri, 22 Sep 2017 09:43:25 +0000 (17:43 +0800)
commitb8d3de85acb4434fb7fd5e7dee12204a55ff8fc2
tree76fbdd568fe6c125d4c8d24d45c33b829c71d339
parent16d5cee5cf65ff704e59a1e70fa82bf798b5e75e
crypto: n2 - remove null check before kfree

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

Signed-off-by: Himanshu Jha <[email protected]>
Acked-by: David S. Miller <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
drivers/crypto/n2_core.c