]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
media: atomisp2: Remove null check before kfree
authorHimanshu Jha <himanshujha199640@gmail.com>
Sat, 26 Aug 2017 20:51:49 +0000 (16:51 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 23 Sep 2017 19:01:10 +0000 (15:01 -0400)
commit727d38a89179fb052b946c59860f86353b9daeb5
treef92c8938aed524b467a0dd5e32d90a641c2c22a8
parent9267d90c564fc4ac7e51b922fa03107bb8c78739
media: atomisp2: Remove null check before kfree

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

Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_firmware.c