mirror of https://gitee.com/openkylin/linux.git
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:
parent
7de975e349
commit
d4a029d215
|
@ -1403,8 +1403,7 @@ SMB2_close(const unsigned int xid, struct cifs_tcon *tcon,
|
|||
rsp = (struct smb2_close_rsp *)iov[0].iov_base;
|
||||
|
||||
if (rc != 0) {
|
||||
if (tcon)
|
||||
cifs_stats_fail_inc(tcon, SMB2_CLOSE_HE);
|
||||
cifs_stats_fail_inc(tcon, SMB2_CLOSE_HE);
|
||||
goto close_exit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue