projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4d3396
)
cifs: trivial: goto out here is unnecessary
author
Jeff Layton
<
[email protected]
>
Tue, 26 Jul 2011 16:20:18 +0000
(12:20 -0400)
committer
Steve French
<
[email protected]
>
Sun, 31 Jul 2011 21:21:02 +0000
(21:21 +0000)
...and remove some obsolete comments.
Signed-off-by: Jeff Layton <
[email protected]
>
Signed-off-by: Steve French <
[email protected]
>
fs/cifs/connect.c
patch
|
blob
|
history
diff --git
a/fs/cifs/connect.c
b/fs/cifs/connect.c
index e66297bad41231af902c99d386f654130b289020..50b3523912ff3c3fc2cf09f4f771a1a86e214e82 100644
(file)
--- a/
fs/cifs/connect.c
+++ b/
fs/cifs/connect.c
@@
-3193,15
+3193,9
@@
mount_fail_check:
else
cifs_put_tcp_session(srvTcp);
bdi_destroy(&cifs_sb->bdi);
- goto out;
}
- /* volume_info->password is freed above when existing session found
- (in which case it is not needed anymore) but when new sesion is created
- the password ptr is put in the new session structure (in which case the
- password will be freed at unmount time) */
out:
- /* zero out password before freeing */
FreeXid(xid);
return rc;
}