Skip to contentSkip to conversation

cifs: remove unused variable from SMB2_read

PATCH Applied Ronnie Sahlberg 2 participants 2 messages Nov 20, 2017 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cifs: remove unused variable from SMB2_read

---
 fs/cifs/smb2pdu.c | 2 --
 1 file changed, 2 deletions(-)
fs/cifs/smb2pdu.c +0 -2
index a555d2b39b30..3ff0b08eaac2 100644
@@ -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;
 
Signature · 1 line
2.13.3

A message that is not in the archive (sent off-list or not yet received): 20171120225745.1384-1-lsahlber-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org

Applied
#2 lore raw

merged into cifs-2.6.git for-next

Quoted 21 lines · Ronnie Sahlberg
---
 fs/cifs/smb2pdu.c | 2 --
 1 file changed, 2 deletions(-)
fs/cifs/smb2pdu.c +0 -3
index a555d2b39b30..3ff0b08eaac2 100644
@@ -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

Signature · 3 lines
Thanks,

Steve