projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bf0c9c
)
Removed duplicated (and unneeded) goto
author
Steve French
<smfrench@gmail.com>
Mon, 18 Nov 2013 15:56:28 +0000
(09:56 -0600)
committer
Steve French
<smfrench@gmail.com>
Mon, 18 Nov 2013 23:24:24 +0000
(17:24 -0600)
Remove an unneeded goto (and also was duplicated goto target name).
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/smb2pdu.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/cifs/smb2pdu.c
b/fs/cifs/smb2pdu.c
index 87f430ecb85fb622a32943863237f5e8daafdb77..1e136eee3ea60e128549de3a732b07b69c9e89c1 100644
(file)
--- 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;