summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-05-31 11:38:41 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-06-11 19:03:57 +0200
commit586f93fa2aee184c55aa63faed10d5cc09e1136a (patch)
treefe217d8eab6d2c513152c827155fb9fafdc87f04 /drivers
parent54b15d8de0f681aeddd93f8b73a7c60db021156c (diff)
downloadlinux-586f93fa2aee184c55aa63faed10d5cc09e1136a.tar.bz2
media: atomisp: get rid of a left-over wrapper function
The abstraction layer for kvfree() was removed, but there is still a left-over code there. Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/media/atomisp/pci/sh_css.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/media/atomisp/pci/sh_css.c b/drivers/staging/media/atomisp/pci/sh_css.c
index 5fd1daa71bf9..9815c87ca6f3 100644
--- a/drivers/staging/media/atomisp/pci/sh_css.c
+++ b/drivers/staging/media/atomisp/pci/sh_css.c
@@ -1863,14 +1863,6 @@ ia_css_enable_isys_event_queue(bool enable) {
return 0;
}
-void sh_css_free(void *ptr)
-{
- if (is_vmalloc_addr(ptr))
- vfree(ptr);
- else
- kfree(ptr);
-}
-
/* For Acceleration API: Flush FW (shared buffer pointer) arguments */
void
sh_css_flush(struct ia_css_acc_fw *fw)