Commit 20fbff1d authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

staging: lustre: remove ENTRY/EXIT_NESTING stuff

These macros were empty, so remove them in anticipation of removing the
entire ENTRY/EXIT macros.

Cc: Peng Tao <tao.peng@emc.com>
Cc: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent db7392c2
...@@ -272,7 +272,6 @@ long libcfs_log_return(struct libcfs_debug_msg_data *, long rc); ...@@ -272,7 +272,6 @@ long libcfs_log_return(struct libcfs_debug_msg_data *, long rc);
#if BITS_PER_LONG > 32 #if BITS_PER_LONG > 32
#define RETURN(rc) \ #define RETURN(rc) \
do { \ do { \
EXIT_NESTING; \
if (cfs_cdebug_show(D_TRACE, DEBUG_SUBSYSTEM)) { \ if (cfs_cdebug_show(D_TRACE, DEBUG_SUBSYSTEM)) { \
LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, D_TRACE, NULL); \ LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, D_TRACE, NULL); \
return (typeof(rc))libcfs_log_return(&msgdata, \ return (typeof(rc))libcfs_log_return(&msgdata, \
...@@ -289,7 +288,6 @@ do { \ ...@@ -289,7 +288,6 @@ do { \
*/ */
#define RETURN(rc) \ #define RETURN(rc) \
do { \ do { \
EXIT_NESTING; \
if (cfs_cdebug_show(D_TRACE, DEBUG_SUBSYSTEM)) { \ if (cfs_cdebug_show(D_TRACE, DEBUG_SUBSYSTEM)) { \
typeof(rc) __rc = (rc); \ typeof(rc) __rc = (rc); \
LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, D_TRACE, NULL); \ LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, D_TRACE, NULL); \
...@@ -305,7 +303,6 @@ do { \ ...@@ -305,7 +303,6 @@ do { \
#define RETURN(rc) \ #define RETURN(rc) \
do { \ do { \
CDEBUG(D_TRACE, "Process leaving.\n"); \ CDEBUG(D_TRACE, "Process leaving.\n"); \
EXIT_NESTING; \
return (rc); \ return (rc); \
} while (0) } while (0)
#else #else
...@@ -313,7 +310,6 @@ do { \ ...@@ -313,7 +310,6 @@ do { \
#endif /* __GNUC__ */ #endif /* __GNUC__ */
#define ENTRY \ #define ENTRY \
ENTRY_NESTING; \
do { \ do { \
CDEBUG(D_TRACE, "Process entered\n"); \ CDEBUG(D_TRACE, "Process entered\n"); \
} while (0) } while (0)
...@@ -321,7 +317,6 @@ do { \ ...@@ -321,7 +317,6 @@ do { \
#define EXIT \ #define EXIT \
do { \ do { \
CDEBUG(D_TRACE, "Process leaving\n"); \ CDEBUG(D_TRACE, "Process leaving\n"); \
EXIT_NESTING; \
} while(0) } while(0)
#define RETURN_EXIT \ #define RETURN_EXIT \
......
...@@ -97,9 +97,6 @@ do { \ ...@@ -97,9 +97,6 @@ do { \
/* initial pid */ /* initial pid */
#define LUSTRE_LNET_PID 12345 #define LUSTRE_LNET_PID 12345
#define ENTRY_NESTING_SUPPORT (1)
#define ENTRY_NESTING do {;} while (0)
#define EXIT_NESTING do {;} while (0)
#define __current_nesting_level() (0) #define __current_nesting_level() (0)
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment