]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sunrpc: Remove useless if (task == NULL) from xprt_reserve_xprt
authorPavel Emelyanov <xemul@parallels.com>
Tue, 5 Oct 2010 16:47:16 +0000 (20:47 +0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 19 Oct 2010 14:48:16 +0000 (10:48 -0400)
commitf10fef38d2d1605c977346457d0adb0919d0bbe7
tree0c1c9c53248f89682493742e114e6aa658a09864
parent8c14ff2aaf26d58aa2258a59bd419c906d105938
sunrpc: Remove useless if (task == NULL) from xprt_reserve_xprt

The task in question is dereferenced above (and is actually never NULL).

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xprt.c