Whamcloud - gitweb
LU-10467 ptlrpc: discard SVC_SIGNAL and related functions 56/34956/2
authorNeilBrown <neilb@suse.com>
Sat, 25 May 2019 15:19:30 +0000 (11:19 -0400)
committerOleg Drokin <green@whamcloud.com>
Sat, 1 Jun 2019 03:58:47 +0000 (03:58 +0000)
This flag is never set, so remove checks and remove
the flag.

Linux-commit: 7f76eb1a6bb7587cbfee410df914bc83f717a362

Change-Id: I4f0c082392b4c140c85da2dcc149a682b2f37fea
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-on: https://review.whamcloud.com/34956
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/lustre_net.h

index b3833a7..38ccbde 100644 (file)
@@ -1507,7 +1507,6 @@ enum {
        SVC_STARTING    = 1 << 2,
        SVC_RUNNING     = 1 << 3,
        SVC_EVENT       = 1 << 4,
        SVC_STARTING    = 1 << 2,
        SVC_RUNNING     = 1 << 3,
        SVC_EVENT       = 1 << 4,
-       SVC_SIGNAL      = 1 << 5,
 };
 
 #define PTLRPC_THR_NAME_LEN            32
 };
 
 #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);
 }
 
         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;
 static inline void thread_clear_flags(struct ptlrpc_thread *thread, __u32 flags)
 {
         thread->t_flags &= ~flags;