lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200817025145.10009-1-vulab@iscas.ac.cn>
Date:   Mon, 17 Aug 2020 02:51:45 +0000
From:   Xu Wang <vulab@...as.ac.cn>
To:     jaharkes@...cmu.edu, coda@...cmu.edu, codalist@...a.cs.cmu.edu
Cc:     linux-kernel@...r.kernel.org, Xu Wang <vulab@...as.ac.cn>
Subject: [PATCH] upcall: Remove unneeded variable insize

Remove unneeded variable insize in venus_pioctl().

Signed-off-by: Xu Wang <vulab@...as.ac.cn>
---
 fs/coda/upcall.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/fs/coda/upcall.c b/fs/coda/upcall.c
index eb3b1898da46..903bd7a4ee16 100644
--- a/fs/coda/upcall.c
+++ b/fs/coda/upcall.c
@@ -477,10 +477,9 @@ int venus_pioctl(struct super_block *sb, struct CodaFid *fid,
 {
         union inputArgs *inp;
         union outputArgs *outp;  
-	int insize, outsize, error;
+	int outsize, error;
 	int iocsize;
 
-	insize = VC_MAXMSGSIZE;
 	UPARG(CODA_IOCTL);
 
         /* build packet for Venus */
-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ