Message ID | 1239904129-13132-1-git-send-email-jlayton@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
merged On Thu, Apr 16, 2009 at 12:48 PM, Jeff Layton <jlayton@redhat.com> wrote: > 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> > --- > Â fs/cifs/connect.c | Â Â 1 - > Â 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 { > -- > 1.5.5.6 > >
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 {
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> --- fs/cifs/connect.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)