sunrpc: eliminate the XPT_DETACHED flag
authorJeff Layton <jlayton@primarydata.com>
Mon, 17 Nov 2014 22:02:57 +0000 (17:02 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 1 Dec 2014 19:45:26 +0000 (12:45 -0700)
commit8d65ef760d50cc625c5364cba89be838b21c66a7
tree1dc8c55fb7f4a35370f98fec7fe51bbbe893e265
parent56429e9b3be567a173bd05f5594faf8522c34d3a
sunrpc: eliminate the XPT_DETACHED flag

All it does is indicate whether a xprt has already been deleted from
a list or not, which is unnecessary since we use list_del_init and it's
always set and checked under the sv_lock anyway.

Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/svc_xprt.h
net/sunrpc/svc_xprt.c