Re: [PATCH 1/2] crypto: n2 - remove null check before kfree
From: David Miller
Date: Sat Aug 26 2017 - 21:50:04 EST
From: Himanshu Jha <himanshujha199640@xxxxxxxxx>
Date: Sun, 27 Aug 2017 02:45:29 +0530
> kfree on NULL pointer is a no-op and therefore checking it is redundant.
>
> Signed-off-by: Himanshu Jha <himanshujha199640@xxxxxxxxx>
Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>