From: Jeff Layton Date: Tue, 26 Jul 2011 16:20:18 +0000 (-0400) Subject: cifs: trivial: goto out here is unnecessary X-Git-Tag: v5.15~24406^2~10 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=1f1cff0be05f59d5939edf28ff5ca0c6fd0a8e1c;p=mirror_ubuntu-kernels.git cifs: trivial: goto out here is unnecessary ...and remove some obsolete comments. Signed-off-by: Jeff Layton Signed-off-by: Steve French --- diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index e66297bad412..50b3523912ff 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; }