summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre
diff options
context:
space:
mode:
authorShraddha Barke <shraddha.6596@gmail.com>2015-12-17 21:10:27 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-21 23:47:30 (GMT)
commit62dc2f66a9267388722a0b1a0c0c253299a3dfc1 (patch)
tree6dd8faae7e73b4246c6b090b153df9f64d4e1a52 /drivers/staging/lustre
parent9569ea54ebadbb01746b7d6a5e79a16f78eaa1ae (diff)
downloadlinux-62dc2f66a9267388722a0b1a0c0c253299a3dfc1.tar.xz
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 e56785a..0b38dad 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;
-}