cifs: remove unneeded bcc_ptr update in CIFSTCon
authorJeff Layton <jlayton@redhat.com>
Thu, 16 Apr 2009 17:48:49 +0000 (13:48 -0400)
committerSteve French <sfrench@us.ibm.com>
Fri, 17 Apr 2009 01:26:50 +0000 (01:26 +0000)
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>
fs/cifs/connect.c

index 4a04ecd..bacdef1 100644 (file)
@@ -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 {