Removed an unnecessary (void *) cast for an argument passed to kfree(). Suggested-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Signed-off-by: Fabio M. De Francesco <fmdefrancesco@xxxxxxxxx> --- v1 -> v2: Added this 2/2 patch. drivers/staging/media/atomisp/pci/sh_css_firmware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/atomisp/pci/sh_css_firmware.c b/drivers/staging/media/atomisp/pci/sh_css_firmware.c index 5301cc014c7e..e1a16a50e588 100644 --- a/drivers/staging/media/atomisp/pci/sh_css_firmware.c +++ b/drivers/staging/media/atomisp/pci/sh_css_firmware.c @@ -363,7 +363,7 @@ void sh_css_unload_firmware(void) unsigned int i = 0; for (i = 0; i < sh_css_num_binaries; i++) { - kfree((void *)fw_minibuffer[i].name); + kfree(fw_minibuffer[i].name); kvfree(fw_minibuffer[i].buffer); } kfree(fw_minibuffer); -- 2.31.1