aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2013-11-18 10:56:28 -0500
committerSteve French <smfrench@gmail.com>2013-11-18 18:24:24 -0500
commit7d3fb24bce87a240ee5a5f99cdd72b1f336d5c3b (patch)
tree07a67270e46fe74cee51e8f3aedab53dabc10637 /fs/cifs
parent9bf0c9cd431440a831e60c0a0fd0bc4f0e083e7f (diff)
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')
-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,
2161 rc = SendReceive2(xid, ses, iov, num, &resp_buftype, 0); 2161 rc = SendReceive2(xid, ses, iov, num, &resp_buftype, 0);
2162 rsp = (struct smb2_set_info_rsp *)iov[0].iov_base; 2162 rsp = (struct smb2_set_info_rsp *)iov[0].iov_base;
2163 2163
2164 if (rc != 0) { 2164 if (rc != 0)
2165 cifs_stats_fail_inc(tcon, SMB2_SET_INFO_HE); 2165 cifs_stats_fail_inc(tcon, SMB2_SET_INFO_HE);
2166 goto out; 2166
2167 }
2168out:
2169 free_rsp_buf(resp_buftype, rsp); 2167 free_rsp_buf(resp_buftype, rsp);
2170 kfree(iov); 2168 kfree(iov);
2171 return rc; 2169 return rc;