* [PATCH] afs: remove the unused variable
@ 2021-03-03 19:01 Muhammad Usama Anjum
2021-03-03 19:22 ` David Howells
0 siblings, 1 reply; 2+ messages in thread
From: Muhammad Usama Anjum @ 2021-03-03 19:01 UTC (permalink / raw)
To: dhowells, linux-afs, linux-kernel; +Cc: musamaanjum
Remove a unused variable from a function.
Signed-off-by: Muhammad Usama Anjum <musamaanjum@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] afs: remove the unused variable
2021-03-03 19:01 [PATCH] afs: remove the unused variable Muhammad Usama Anjum
@ 2021-03-03 19:22 ` David Howells
0 siblings, 0 replies; 2+ messages in thread
From: David Howells @ 2021-03-03 19:22 UTC (permalink / raw)
To: Muhammad Usama Anjum; +Cc: dhowells, linux-afs, linux-kernel
I've fixed this already, thanks. The fix should turn up in linux-next at some
point.
David
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-03 21:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-03 19:01 [PATCH] afs: remove the unused variable Muhammad Usama Anjum
2021-03-03 19:22 ` David Howells
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox