[PATCH] afs: remove the unused variable

Muhammad Usama Anjum musamaanjum at gmail.com
Wed Mar 3 19:01:46 GMT 2021


Remove a unused variable from a function.

Signed-off-by: Muhammad Usama Anjum <musamaanjum at gmail.com>
---
 fs/afs/file.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/afs/file.c b/fs/afs/file.c
index af162d7dab5b..cf2b664a68a5 100644
--- a/fs/afs/file.c
+++ b/fs/afs/file.c
@@ -288,7 +288,6 @@ static void afs_req_issue_op(struct netfs_read_subrequest *subreq)
 {
 	struct afs_vnode *vnode = AFS_FS_I(subreq->rreq->inode);
 	struct afs_read *fsreq;
-	int ret;
 
 	fsreq = afs_alloc_read(GFP_NOFS);
 	if (!fsreq)
-- 
2.25.1




More information about the linux-afs mailing list