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

index 187afe38dac7433e8b0aa2b4452278f601b05ff7..aac37d99a487bfe9b40d1107ba67973bf212ed54 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;