[PATCH] upcall: Remove unneeded variable insize
From: Xu Wang
Date: Sun Aug 16 2020 - 23:22:32 EST
Remove unneeded variable insize in venus_pioctl().
Signed-off-by: Xu Wang <vulab@xxxxxxxxxxx>
---
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