mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] upcall: Remove unneeded variable insize
@ 2020-08-17  2:51 Xu Wang
  2020-08-17  5:03 ` kernel test robot
  2020-08-17  6:31 ` kernel test robot
  0 siblings, 2 replies; 3+ messages in thread
From: Xu Wang @ 2020-08-17  2:51 UTC (permalink / raw)
  To: jaharkes, coda, codalist; +Cc: linux-kernel, Xu Wang

Remove unneeded variable insize in venus_pioctl().

Signed-off-by: Xu Wang <vulab@iscas.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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-17  6:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-17  2:51 [PATCH] upcall: Remove unneeded variable insize Xu Wang
2020-08-17  5:03 ` kernel test robot
2020-08-17  6:31 ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®