Whamcloud - gitweb
LU-12780 lustre: remove SVC_EVENT flag 57/36257/4
authorMr NeilBrown <neilb@suse.de>
Tue, 22 Oct 2019 14:42:29 +0000 (10:42 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 6 Dec 2019 01:07:50 +0000 (01:07 +0000)
This flag is never set or tested, so remove it and the
function for testing it.

Test-Parameters:trivial

Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: Ie9fc586ecd26ffce16026d53eac998e3c046d270
Reviewed-on: https://review.whamcloud.com/36257
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Shaun Tancheff <stancheff@cray.com>
Reviewed-by: Petros Koutoupis <pkoutoupis@cray.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/lustre_net.h

index c3b61ef..f8f50d5 100644 (file)
@@ -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;