Staging: lustre: libcfs: Remove unused libcfs_debug_set_level
authorShraddha Barke <shraddha.6596@gmail.com>
Thu, 17 Dec 2015 21:10:27 +0000 (02:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 23:47:30 +0000 (15:47 -0800)
Function libcfs_debug_set_level is defined but not used. Thus
remove it.

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/debug.c

index e56785a482425e8119572c3f2031bc65da1e3d22..0b38dad135465eaff467bc03d166fc7dfa7c961d 100644 (file)
@@ -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;
-}