cifs: remove unneeded variable initialization in cifs_reconnect_tcon
authorJeff Layton <jlayton@redhat.com>
Thu, 28 Jul 2011 16:40:36 +0000 (12:40 -0400)
committerSteve French <sfrench@us.ibm.com>
Sun, 31 Jul 2011 21:27:16 +0000 (21:27 +0000)
Reported-and-acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifssmb.c

index 187afe3..aac37d9 100644 (file)
@@ -107,7 +107,7 @@ static void mark_open_files_invalid(struct cifs_tcon *pTcon)
 static int
 cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command)
 {
-       int rc = 0;
+       int rc;
        struct cifs_ses *ses;
        struct TCP_Server_Info *server;
        struct nls_table *nls_codepage;