summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2017-11-20 23:57:45 +0100
committerSteve French <smfrench@gmail.com>2018-01-25 02:49:05 +0100
commit5dfe69a407dccae64a18c49149479b221a648cc5 (patch)
tree7fd0eab7a771bde7510289ecc31808aae3ba5d74
parentcifs: remove rfc1002 header from smb2_oplock_break we get from server (diff)
downloadlinux-5dfe69a407dccae64a18c49149479b221a648cc5.tar.xz
linux-5dfe69a407dccae64a18c49149479b221a648cc5.zip
cifs: remove unused variable from SMB2_read
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>
-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;