summaryrefslogtreecommitdiff
path: root/fs/cifs
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2017-11-21 01:57:45 +0300
committerSteve French <smfrench@gmail.com>2018-01-25 04:49:05 +0300
commit5dfe69a407dccae64a18c49149479b221a648cc5 (patch)
tree7fd0eab7a771bde7510289ecc31808aae3ba5d74 /fs/cifs
parent21ad9487ca3250c90ec36d68a8a3ee9f659450e3 (diff)
downloadlinux-5dfe69a407dccae64a18c49149479b221a648cc5.tar.xz
cifs: remove unused variable from SMB2_read
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/smb2pdu.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c
index 08e78ce5156f..3e5546c7d0b8 100644
--- a/fs/cifs/smb2pdu.c
+++ b/fs/cifs/smb2pdu.c
@@ -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;