From: NeilBrown Date: Sat, 25 May 2019 15:19:30 +0000 (-0400) Subject: LU-10467 ptlrpc: discard SVC_SIGNAL and related functions X-Git-Tag: 2.12.54~15 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=02aa25019db411ef6a3e8ea39900db5737672e87;p=fs%2Flustre-release.git LU-10467 ptlrpc: discard SVC_SIGNAL and related functions This flag is never set, so remove checks and remove the flag. Linux-commit: 7f76eb1a6bb7587cbfee410df914bc83f717a362 Change-Id: I4f0c082392b4c140c85da2dcc149a682b2f37fea Signed-off-by: NeilBrown Signed-off-by: Greg Kroah-Hartman Reviewed-on: https://review.whamcloud.com/34956 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Sebastien Buisson Reviewed-by: Andreas Dilger --- diff --git a/lustre/include/lustre_net.h b/lustre/include/lustre_net.h index b3833a7..38ccbde 100644 --- a/lustre/include/lustre_net.h +++ b/lustre/include/lustre_net.h @@ -1507,7 +1507,6 @@ enum { SVC_STARTING = 1 << 2, SVC_RUNNING = 1 << 3, SVC_EVENT = 1 << 4, - SVC_SIGNAL = 1 << 5, }; #define PTLRPC_THR_NAME_LEN 32 @@ -1577,11 +1576,6 @@ static inline int thread_is_event(struct ptlrpc_thread *thread) return !!(thread->t_flags & SVC_EVENT); } -static inline int thread_is_signal(struct ptlrpc_thread *thread) -{ - return !!(thread->t_flags & SVC_SIGNAL); -} - static inline void thread_clear_flags(struct ptlrpc_thread *thread, __u32 flags) { thread->t_flags &= ~flags;