From 2bf7e6baa4947f96b7fee6ee625d695e2f34c064 Mon Sep 17 00:00:00 2001 From: Mr NeilBrown Date: Tue, 22 Oct 2019 10:42:29 -0400 Subject: [PATCH] LU-12780 lustre: remove SVC_EVENT flag This flag is never set or tested, so remove it and the function for testing it. Test-Parameters:trivial Signed-off-by: Mr NeilBrown Change-Id: Ie9fc586ecd26ffce16026d53eac998e3c046d270 Reviewed-on: https://review.whamcloud.com/36257 Reviewed-by: Andreas Dilger Reviewed-by: James Simmons Reviewed-by: Shaun Tancheff Reviewed-by: Petros Koutoupis Tested-by: jenkins Tested-by: Maloo --- lustre/include/lustre_net.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lustre/include/lustre_net.h b/lustre/include/lustre_net.h index c3b61ef..f8f50d5 100644 --- a/lustre/include/lustre_net.h +++ b/lustre/include/lustre_net.h @@ -1491,7 +1491,6 @@ enum { SVC_STOPPING = 1 << 1, SVC_STARTING = 1 << 2, SVC_RUNNING = 1 << 3, - SVC_EVENT = 1 << 4, }; #define PTLRPC_THR_NAME_LEN 32 @@ -1556,11 +1555,6 @@ static inline int thread_is_running(struct ptlrpc_thread *thread) return !!(thread->t_flags & SVC_RUNNING); } -static inline int thread_is_event(struct ptlrpc_thread *thread) -{ - return !!(thread->t_flags & SVC_EVENT); -} - static inline void thread_clear_flags(struct ptlrpc_thread *thread, __u32 flags) { thread->t_flags &= ~flags; -- 1.8.3.1