From: Shraddha Barke Date: Thu, 17 Dec 2015 21:10:27 +0000 (+0530) Subject: Staging: lustre: libcfs: Remove unused libcfs_debug_set_level X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=62dc2f66a9267388722a0b1a0c0c253299a3dfc1;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Staging: lustre: libcfs: Remove unused libcfs_debug_set_level Function libcfs_debug_set_level is defined but not used. Thus remove it. Signed-off-by: Shraddha Barke Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/libcfs/debug.c b/drivers/staging/lustre/lustre/libcfs/debug.c index e56785a48242..0b38dad13546 100644 --- a/drivers/staging/lustre/lustre/libcfs/debug.c +++ b/drivers/staging/lustre/lustre/libcfs/debug.c @@ -557,10 +557,3 @@ int libcfs_debug_mark_buffer(const char *text) #undef DEBUG_SUBSYSTEM #define DEBUG_SUBSYSTEM S_LNET - -void libcfs_debug_set_level(unsigned int debug_level) -{ - pr_warn("Lustre: Setting portals debug level to %08x\n", - debug_level); - libcfs_debug = debug_level; -}