aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre
diff options
context:
space:
mode:
authorShraddha Barke <shraddha.6596@gmail.com>2015-12-18 02:40:27 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-21 15:47:30 -0800
commit62dc2f66a9267388722a0b1a0c0c253299a3dfc1 (patch)
tree6dd8faae7e73b4246c6b090b153df9f64d4e1a52 /drivers/staging/lustre
parentStaging: lustre: obdclass: Declare cl_env_peek as static (diff)
downloadlinux-dev-62dc2f66a9267388722a0b1a0c0c253299a3dfc1.tar.xz
linux-dev-62dc2f66a9267388722a0b1a0c0c253299a3dfc1.zip
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 <shraddha.6596@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre')
-rw-r--r--drivers/staging/lustre/lustre/libcfs/debug.c7
1 files changed, 0 insertions, 7 deletions
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;
-}