SUNRPC: Clean up the svc_xprt_flags() macro
authorChuck Lever <chuck.lever@oracle.com>
Tue, 24 Jan 2023 20:40:15 +0000 (15:40 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 20 Feb 2023 14:20:54 +0000 (09:20 -0500)
commitfcebda5a5d0d53f5603e7b9c04b5b63abe4bac03
tree76e834821a3f7032c5cb86c0281d38b2af4fb473
parent4dbca1c3c6dd0f21b1b6c5898b7579d465d30468
SUNRPC: Clean up the svc_xprt_flags() macro

Make this macro more conventional:
 - Use BIT() instead of open-coding " 1UL << "
 - Don't display the "XPT_" in every flag name

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/trace/events/sunrpc.h