[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1654070283-7216-1-git-send-email-baihaowen@meizu.com>
Date: Wed, 1 Jun 2022 15:58:03 +0800
From: Haowen Bai <baihaowen@...zu.com>
To: Jan Harkes <jaharkes@...cmu.edu>, <coda@...cmu.edu>
CC: Haowen Bai <baihaowen@...zu.com>, <codalist@...a.cs.cmu.edu>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH] coda: remove unused variable
The variable insize is initialized but never used otherwise.
Signed-off-by: Haowen Bai <baihaowen@...zu.com>
---
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 59f6cfd06f96..c214b424426d 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.7.4
Powered by blists - more mailing lists