[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210629041206.708134-1-13145886936@163.com>
Date: Mon, 28 Jun 2021 21:12:06 -0700
From: 13145886936@....com
To: hubcap@...ibond.com, martin@...ibond.com
Cc: devel@...ts.orangefs.org, linux-kernel@...r.kernel.org,
gushengxian <gushengxian@...ong.com>
Subject: [PATCH] Orangef: Removed unused variable: "file"
From: gushengxian <gushengxian@...ong.com>
In function orangefs_launder_page() the varialbe "file" is defined.
However it has not been used throughout the function.
At the same time, the entire directory was compiled,
and no error was found.
Signed-off-by: gushengxian <gushengxian@...ong.com>
---
fs/orangefs/inode.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/orangefs/inode.c b/fs/orangefs/inode.c
index 207cbf19fba1..16ac617df7d7 100644
--- a/fs/orangefs/inode.c
+++ b/fs/orangefs/inode.c
@@ -249,7 +249,6 @@ static void orangefs_readahead(struct readahead_control *rac)
{
loff_t offset;
struct iov_iter iter;
- struct file *file = rac->file;
struct inode *inode = rac->mapping->host;
struct xarray *i_pages;
struct page *page;
--
2.25.1
Powered by blists - more mailing lists