Commit 586f93fa authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

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: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 54b15d8d
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -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)