2021-03-04 12:35:37

by Muhammad Usama Anjum

[permalink] [raw]
Subject: [PATCH] afs: remove the unused variable

Remove a unused variable from a function.

Signed-off-by: Muhammad Usama Anjum <[email protected]>
---
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


2021-03-04 12:39:21

by David Howells

[permalink] [raw]
Subject: Re: [PATCH] afs: remove the unused variable

I've fixed this already, thanks. The fix should turn up in linux-next at some
point.

David