mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
media: atomisp: pci: Remove unnecessary (void *) cast
Removed an unnecessary (void *) cast for an argument passed to kfree(). Link: https://lore.kernel.org/linux-media/20210605020855.1065-3-fmdefrancesco@gmail.com Suggested-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
1c6edb2831
commit
454a6232e2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user