summaryrefslogtreecommitdiff
path: root/fs/cifs
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2011-07-26 12:20:18 -0400
committerSteve French <sfrench@us.ibm.com>2011-07-31 21:21:02 +0000
commit1f1cff0be05f59d5939edf28ff5ca0c6fd0a8e1c (patch)
tree9ae24f71bce38107e7037d0a4a4f3f7062c88e30 /fs/cifs
parentc4d3396b261473ded6f370edd1e79ba34e089d7e (diff)
downloadlinux-3.10-1f1cff0be05f59d5939edf28ff5ca0c6fd0a8e1c.tar.gz
linux-3.10-1f1cff0be05f59d5939edf28ff5ca0c6fd0a8e1c.tar.bz2
linux-3.10-1f1cff0be05f59d5939edf28ff5ca0c6fd0a8e1c.zip
cifs: trivial: goto out here is unnecessary
...and remove some obsolete comments. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/connect.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index e66297bad41..50b3523912f 100644
--- 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;
}