cifs: remove unused variable from SMB2_read
authorRonnie Sahlberg <lsahlber@redhat.com>
Mon, 20 Nov 2017 22:57:45 +0000 (09:57 +1100)
committerSteve French <smfrench@gmail.com>
Thu, 25 Jan 2018 01:49:05 +0000 (19:49 -0600)
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/smb2pdu.c

index 08e78ce..3e5546c 100644 (file)
@@ -2670,8 +2670,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;