[PATCH] afs: remove the unused variable

From: Muhammad Usama Anjum
Date: Wed Mar 03 2021 - 14:26:17 EST


Remove a unused variable from a function.

Signed-off-by: Muhammad Usama Anjum <musamaanjum@xxxxxxxxx>
---
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