Commit 22c9d52b authored by Jeff Layton's avatar Jeff Layton Committed by Steve French

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: default avatarDave Kleikamp <shaggy@linux.vnet.ibm.com>
Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 313fecfa
...@@ -3765,7 +3765,6 @@ CIFSTCon(unsigned int xid, struct cifsSesInfo *ses, ...@@ -3765,7 +3765,6 @@ CIFSTCon(unsigned int xid, struct cifsSesInfo *ses,
cFYI(1, ("nativeFileSystem=%s", cFYI(1, ("nativeFileSystem=%s",
tcon->nativeFileSystem)); tcon->nativeFileSystem));
} }
bcc_ptr += (2 * length) + 2;
} }
/* else do not bother copying these information fields*/ /* else do not bother copying these information fields*/
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment