Skip to content

Commit bb283ca

Browse files
committed
NFSD: Clean up the show_nf_flags() macro
The flags are defined using C macros, so TRACE_DEFINE_ENUM is unnecessary. Signed-off-by: Chuck Lever <[email protected]>
1 parent 0122e88 commit bb283ca

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

fs/nfsd/trace.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -692,12 +692,6 @@ DEFINE_CLID_EVENT(confirmed_r);
692692
/*
693693
* from fs/nfsd/filecache.h
694694
*/
695-
TRACE_DEFINE_ENUM(NFSD_FILE_HASHED);
696-
TRACE_DEFINE_ENUM(NFSD_FILE_PENDING);
697-
TRACE_DEFINE_ENUM(NFSD_FILE_BREAK_READ);
698-
TRACE_DEFINE_ENUM(NFSD_FILE_BREAK_WRITE);
699-
TRACE_DEFINE_ENUM(NFSD_FILE_REFERENCED);
700-
701695
#define show_nf_flags(val) \
702696
__print_flags(val, "|", \
703697
{ 1 << NFSD_FILE_HASHED, "HASHED" }, \

0 commit comments

Comments
 (0)