cifs: remove unneeded check of null checking in if condition

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
Signed-off-by: Steve French <smfrench@gmail.com>
This commit is contained in:
Namjae Jeon 2014-08-20 19:39:59 +09:00 committed by Steve French
parent 7de975e349
commit d4a029d215
1 changed files with 1 additions and 2 deletions

View File

@ -1403,8 +1403,7 @@ SMB2_close(const unsigned int xid, struct cifs_tcon *tcon,
rsp = (struct smb2_close_rsp *)iov[0].iov_base; rsp = (struct smb2_close_rsp *)iov[0].iov_base;
if (rc != 0) { if (rc != 0) {
if (tcon) cifs_stats_fail_inc(tcon, SMB2_CLOSE_HE);
cifs_stats_fail_inc(tcon, SMB2_CLOSE_HE);
goto close_exit; goto close_exit;
} }