summaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/include
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2018-03-29 15:26:48 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-23 14:52:52 +0200
commit2acf8359b371cf4c7b964faafa49dc8762c79ab4 (patch)
tree21c8275caf176b131e58ddaa5fb2baae1328c855 /drivers/staging/lustre/include
parent346544d80b951498ab0ba5e8e8923134074e9746 (diff)
downloadop-kernel-dev-2acf8359b371cf4c7b964faafa49dc8762c79ab4.zip
op-kernel-dev-2acf8359b371cf4c7b964faafa49dc8762c79ab4.tar.gz
staging: lustre: remove cruft from libcfs/linux/libcfs.h
These defines are unused or nearly unused, and do not help at all. Signed-off-by: NeilBrown <neilb@suse.com> Reviewed-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/include')
-rw-r--r--drivers/staging/lustre/include/linux/libcfs/curproc.h2
-rw-r--r--drivers/staging/lustre/include/linux/libcfs/linux/libcfs.h17
2 files changed, 0 insertions, 19 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/curproc.h b/drivers/staging/lustre/include/linux/libcfs/curproc.h
index 4702956..d6e4f47 100644
--- a/drivers/staging/lustre/include/linux/libcfs/curproc.h
+++ b/drivers/staging/lustre/include/linux/libcfs/curproc.h
@@ -43,8 +43,6 @@
/*
* Plus, platform-specific constant
*
- * CFS_CURPROC_COMM_MAX,
- *
* and opaque scalar type
*
* kernel_cap_t
diff --git a/drivers/staging/lustre/include/linux/libcfs/linux/libcfs.h b/drivers/staging/lustre/include/linux/libcfs/linux/libcfs.h
index c39c34d..0dbd016 100644
--- a/drivers/staging/lustre/include/linux/libcfs/linux/libcfs.h
+++ b/drivers/staging/lustre/include/linux/libcfs/linux/libcfs.h
@@ -81,8 +81,6 @@
#include <stdarg.h>
#include "linux-cpu.h"
-#define LUSTRE_TRACE_SIZE (THREAD_SIZE >> 5)
-
#if !defined(__x86_64__)
# ifdef __ia64__
# define CDEBUG_STACK() (THREAD_SIZE - \
@@ -114,19 +112,4 @@ do { \
#define CDEBUG_STACK() (0L)
#endif /* __x86_64__ */
-#define __current_nesting_level() (0)
-
-/**
- * Platform specific declarations for cfs_curproc API (libcfs/curproc.h)
- *
- * Implementation is in linux-curproc.c
- */
-#define CFS_CURPROC_COMM_MAX (sizeof((struct task_struct *)0)->comm)
-
-#include <linux/capability.h>
-
-#ifndef WITH_WATCHDOG
-#define WITH_WATCHDOG
-#endif
-
#endif /* _LINUX_LIBCFS_H */
OpenPOWER on IntegriCloud