Browse Source

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>
Jeff Layton 16 years ago
parent
commit
22c9d52bc0
1 changed files with 0 additions and 1 deletions
  1. 0 1
      fs/cifs/connect.c

+ 0 - 1
fs/cifs/connect.c

@@ -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 {