summaryrefslogtreecommitdiff
path: root/fs/nfs/idmap.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-02-01 11:46:20 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-02-07 03:47:59 +0400
commit87e3c0553fcbea79bf9f17fc5694484ecf3ae5e8 (patch)
tree7d0dcc070b4fdb9cbb7defa212feb4ba82519a26 /fs/nfs/idmap.c
parentb01dd1d8fae6178cbec374b90da2e4a3b8dce9ba (diff)
downloadlinux-87e3c0553fcbea79bf9f17fc5694484ecf3ae5e8.tar.xz
SUNRPC: remove an unneeded NULL check in xprt_connect()
We check "task->tk_rqstp" and then we dereference it without checking on the next line. The only caller is call_connect() and that has a check which prevents it from calling xprt_connect() with a NULL. if (task->tk_status < 0) return; If "task->tk_rqstp" were NULL then "tk_status" would be -EAGAIN. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/idmap.c')
0 files changed, 0 insertions, 0 deletions