On Thu, May 27, 2021 at 09:39:22PM +0200, Fabio M. De Francesco wrote: > Removed checks for pointers != NULL before freeing memory. If kvfree() > and kfree() are given NULL pointers no operations are performed, so > there is no need for the above-mentioned checks. Coccinelle detected the > second of the two unnecessary checks. > > Signed-off-by: Fabio M. De Francesco <fmdefrancesco@xxxxxxxxx> Acked-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> -- Sakari Ailus