summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2011-07-28 18:40:36 +0200
committerSteve French <sfrench@us.ibm.com>2011-07-31 23:27:16 +0200
commitc4a5534a1b61cdffaa83187efe63712f75544726 (patch)
tree10b1fd285ec4faf9a65df9a7a63d910360eaad53
parentcifs: simplify refcounting for oplock breaks (diff)
downloadlinux-c4a5534a1b61cdffaa83187efe63712f75544726.tar.xz
linux-c4a5534a1b61cdffaa83187efe63712f75544726.zip
cifs: remove unneeded variable initialization in cifs_reconnect_tcon
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>
-rw-r--r--fs/cifs/cifssmb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index 187afe38dac7..aac37d99a487 100644
--- a/fs/cifs/cifssmb.c
+++ b/fs/cifs/cifssmb.c
@@ -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;