diff options
-rw-r--r-- | net/sunrpc/svc_xprt.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c index c65a4721829..c82fe739fbd 100644 --- a/net/sunrpc/svc_xprt.c +++ b/net/sunrpc/svc_xprt.c | |||
@@ -330,12 +330,6 @@ void svc_xprt_enqueue(struct svc_xprt *xprt) | |||
330 | "svc_xprt_enqueue: " | 330 | "svc_xprt_enqueue: " |
331 | "threads and transports both waiting??\n"); | 331 | "threads and transports both waiting??\n"); |
332 | 332 | ||
333 | if (test_bit(XPT_DEAD, &xprt->xpt_flags)) { | ||
334 | /* Don't enqueue dead transports */ | ||
335 | dprintk("svc: transport %p is dead, not enqueued\n", xprt); | ||
336 | goto out_unlock; | ||
337 | } | ||
338 | |||
339 | pool->sp_stats.packets++; | 333 | pool->sp_stats.packets++; |
340 | 334 | ||
341 | /* Mark transport as busy. It will remain in this state until | 335 | /* Mark transport as busy. It will remain in this state until |