Commit 00e053bd authored by WANG Chao's avatar WANG Chao Committed by Greg Kroah-Hartman
Browse files

staging, unisys: remove leftover function kmalloc_kernel()



kmalloc_kernel() previously declared in timskmodutils.h which recently got
removed. Now also remove kmalloc_kernel(), because it's not used anywhere.

Signed-off-by: default avatarWANG Chao <wangchao19890207@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0297ac39
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -36,16 +36,6 @@
int unisys_spar_platform;
EXPORT_SYMBOL_GPL(unisys_spar_platform);

/** Callers to interfaces that set __GFP_NORETRY flag below
 *  must check for a NULL (error) result as we are telling the
 *  kernel interface that it is okay to fail.
 */

void *kmalloc_kernel(size_t siz)
{
	return kmalloc(siz, GFP_KERNEL | __GFP_NORETRY);
}

static __init uint32_t
visorutil_spar_detect(void)
{