Message ID | 20171120225745.1384-1-lsahlber@redhat.com |
---|---|
State | New |
Headers | show |
Series | cifs: remove unused variable from SMB2_read | expand |
merged into cifs-2.6.git for-next On Mon, Nov 20, 2017 at 4:57 PM, Ronnie Sahlberg <lsahlber@redhat.com> wrote: > Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> > --- > fs/cifs/smb2pdu.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c > index a555d2b39b30..3ff0b08eaac2 100644 > --- a/fs/cifs/smb2pdu.c > +++ b/fs/cifs/smb2pdu.c > @@ -2629,8 +2629,6 @@ SMB2_read(const unsigned int xid, struct cifs_io_parms *io_parms, > struct kvec iov[1]; > struct kvec rsp_iov; > unsigned int total_len; > - struct smb_rqst rqst = { .rq_iov = iov, > - .rq_nvec = 2 }; > int flags = CIFS_LOG_ERROR; > struct cifs_ses *ses = io_parms->tcon->ses; > > -- > 2.13.3 >
diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c index a555d2b39b30..3ff0b08eaac2 100644 --- a/fs/cifs/smb2pdu.c +++ b/fs/cifs/smb2pdu.c @@ -2629,8 +2629,6 @@ SMB2_read(const unsigned int xid, struct cifs_io_parms *io_parms, struct kvec iov[1]; struct kvec rsp_iov; unsigned int total_len; - struct smb_rqst rqst = { .rq_iov = iov, - .rq_nvec = 2 }; int flags = CIFS_LOG_ERROR; struct cifs_ses *ses = io_parms->tcon->ses;
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> --- fs/cifs/smb2pdu.c | 2 -- 1 file changed, 2 deletions(-)