mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
Removed duplicated (and unneeded) goto
Remove an unneeded goto (and also was duplicated goto target name). Signed-off-by: Steve French <smfrench@gmail.com>
This commit is contained in:
parent
9bf0c9cd43
commit
7d3fb24bce
1 changed files with 2 additions and 4 deletions
|
@ -2161,11 +2161,9 @@ send_set_info(const unsigned int xid, struct cifs_tcon *tcon,
|
|||
rc = SendReceive2(xid, ses, iov, num, &resp_buftype, 0);
|
||||
rsp = (struct smb2_set_info_rsp *)iov[0].iov_base;
|
||||
|
||||
if (rc != 0) {
|
||||
if (rc != 0)
|
||||
cifs_stats_fail_inc(tcon, SMB2_SET_INFO_HE);
|
||||
goto out;
|
||||
}
|
||||
out:
|
||||
|
||||
free_rsp_buf(resp_buftype, rsp);
|
||||
kfree(iov);
|
||||
return rc;
|
||||
|
|
Loading…
Reference in a new issue