summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2pdu.c
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2013-11-18 16:56:28 +0100
committerSteve French <smfrench@gmail.com>2013-11-19 00:24:24 +0100
commit7d3fb24bce87a240ee5a5f99cdd72b1f336d5c3b (patch)
tree07a67270e46fe74cee51e8f3aedab53dabc10637 /fs/cifs/smb2pdu.c
parentCIFS: Fix SMB2/SMB3 Copy offload support (refcopy) for large files (diff)
downloadlinux-7d3fb24bce87a240ee5a5f99cdd72b1f336d5c3b.tar.xz
linux-7d3fb24bce87a240ee5a5f99cdd72b1f336d5c3b.zip
Removed duplicated (and unneeded) goto
Remove an unneeded goto (and also was duplicated goto target name). Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2pdu.c')
-rw-r--r--fs/cifs/smb2pdu.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c
index 87f430ecb85f..1e136eee3ea6 100644
--- a/fs/cifs/smb2pdu.c
+++ b/fs/cifs/smb2pdu.c
@@ -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;