(1/2) Removed unnecessary test of pointers != NULL before passing them to kfree() and kvfree(). (2/2) Removed an unncecessary (void *) cast for an argument passed to kfree(). v1 -> v2: Added patch 2/2. Fabio M. De Francesco (2): staging: media: atomisp: pci: Remove checks before kfree/kvfree staging: media: atomisp: pci: Remove unnecessary (void *) cast drivers/staging/media/atomisp/pci/sh_css_firmware.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) -- 2.31.1