From: Steve French Date: Mon, 18 Nov 2013 15:56:28 +0000 (-0600) Subject: Removed duplicated (and unneeded) goto X-Git-Tag: upstream/snapshot3+hdmi~3864^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d3fb24bce87a240ee5a5f99cdd72b1f336d5c3b;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git Removed duplicated (and unneeded) goto Remove an unneeded goto (and also was duplicated goto target name). Signed-off-by: Steve French --- diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c index 87f430e..1e136ee 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;