SUNRPC: Define xs_tcp_fin_timeout only if CONFIG_SUNRPC_DEBUG
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 9 Feb 2015 16:01:02 +0000 (11:01 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 9 Feb 2015 16:27:45 +0000 (11:27 -0500)
commit54c09874929dcaac37ed62ad2eca45d960ba1a00
tree167503fcb0a5d1eab542624a4ae47c93165d47ab
parentb70ae915e4282854fb7864519e5ec559ab2de7c3
SUNRPC: Define xs_tcp_fin_timeout only if CONFIG_SUNRPC_DEBUG

Now that the linger code is gone, the xs_tcp_fin_timeout variable has
no real function. Keep it for now, since it is part of the /proc
interface, but only define it if that /proc interface is enabled.

Suggested-by: Anna Schumaker <Anna.Schumaker@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/xprtsock.c