diff options
author | Jeff Layton <jlayton@redhat.com> | 2009-04-16 13:48:49 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2009-04-16 21:26:50 -0400 |
commit | 22c9d52bc03b880045ab1081890a38f11b272ae7 (patch) | |
tree | 7614c19810a85be56f4c454dbe2aeda82eef3843 /fs | |
parent | 313fecfa69bbad0a10d3313a50a89d3064f47ce1 (diff) |
cifs: remove unneeded bcc_ptr update in CIFSTCon
This pointer isn't used again after this point. It's also not updated in
the ascii case, so there's no need to update it here.
Pointed-out-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/cifs/connect.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 4a04ecdc1b76..bacdef1546b7 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -3765,7 +3765,6 @@ CIFSTCon(unsigned int xid, struct cifsSesInfo *ses, | |||
3765 | cFYI(1, ("nativeFileSystem=%s", | 3765 | cFYI(1, ("nativeFileSystem=%s", |
3766 | tcon->nativeFileSystem)); | 3766 | tcon->nativeFileSystem)); |
3767 | } | 3767 | } |
3768 | bcc_ptr += (2 * length) + 2; | ||
3769 | } | 3768 | } |
3770 | /* else do not bother copying these information fields*/ | 3769 | /* else do not bother copying these information fields*/ |
3771 | } else { | 3770 | } else { |