summaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2009-04-16 13:48:49 -0400
committerSteve French <sfrench@us.ibm.com>2009-04-17 01:26:50 +0000
commit22c9d52bc03b880045ab1081890a38f11b272ae7 (patch)
tree7614c19810a85be56f4c454dbe2aeda82eef3843 /fs/cifs/connect.c
parent313fecfa69bbad0a10d3313a50a89d3064f47ce1 (diff)
downloadop-kernel-dev-22c9d52bc03b880045ab1081890a38f11b272ae7.zip
op-kernel-dev-22c9d52bc03b880045ab1081890a38f11b272ae7.tar.gz
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/cifs/connect.c')
-rw-r--r--fs/cifs/connect.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 4a04ecd..bacdef1 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -3765,7 +3765,6 @@ CIFSTCon(unsigned int xid, struct cifsSesInfo *ses,
cFYI(1, ("nativeFileSystem=%s",
tcon->nativeFileSystem));
}
- bcc_ptr += (2 * length) + 2;
}
/* else do not bother copying these information fields*/
} else {
OpenPOWER on IntegriCloud