Skip to content

Commit 586f93f

Browse files
committed
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 <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 54b15d8 commit 586f93f

File tree

1 file changed

+0
-8
lines changed
  • drivers/staging/media/atomisp/pci

1 file changed

+0
-8
lines changed

drivers/staging/media/atomisp/pci/sh_css.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1863,14 +1863,6 @@ ia_css_enable_isys_event_queue(bool enable) {
18631863
return 0;
18641864
}
18651865

1866-
void sh_css_free(void *ptr)
1867-
{
1868-
if (is_vmalloc_addr(ptr))
1869-
vfree(ptr);
1870-
else
1871-
kfree(ptr);
1872-
}
1873-
18741866
/* For Acceleration API: Flush FW (shared buffer pointer) arguments */
18751867
void
18761868
sh_css_flush(struct ia_css_acc_fw *fw)

0 commit comments

Comments
 (0)