xprt: remove redundant null check
authorj223yang@asset.uwaterloo.ca <j223yang@asset.uwaterloo.ca>
Thu, 10 Mar 2011 17:40:28 +0000 (12:40 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 16 Mar 2011 00:16:14 +0000 (20:16 -0400)
commit4d4a76f3309edc671918a767b336492fbc80a16d
treed35e5df0599c095c69bbcae6b5a3207623da07a0
parent8f68cd42d85f31fb58dd2cabf3ff4aad0a2bafd9
xprt: remove redundant null check

'req' is dereferenced before checked for NULL.
The patch simply removes the check.

Signed-off-by: Jinqiu Yang<crindy646@gmail.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprt.c