Skip to content

Commit

Permalink
cifs: remove unneeded bcc_ptr update in CIFSTCon
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeff Layton authored and Steve French committed Apr 17, 2009
1 parent 313fecf commit 22c9d52
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/cifs/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 22c9d52

Please sign in to comment.