summaryrefslogtreecommitdiff
path: root/drivers/md/dm-writecache.c
diff options
context:
space:
mode:
authorHuaisheng Ye <yehs1@lenovo.com>2019-08-25 10:24:31 +0300
committerMike Snitzer <snitzer@redhat.com>2019-08-26 17:54:15 +0300
commit58912dbce6becd31c09b02a1a26b76a5ee23763b (patch)
tree1a63296280f54b4916dc3137fffb83920d787cb4 /drivers/md/dm-writecache.c
parent0c8e9c2d668278652af028c3cc068c65f66342f4 (diff)
downloadlinux-58912dbce6becd31c09b02a1a26b76a5ee23763b.tar.xz
dm writecache: remove unused member pointer in writeback_struct
The stucture member pointer page in writeback_struct never has been used actually. Remove it. Signed-off-by: Huaisheng Ye <yehs1@lenovo.com> Acked-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-writecache.c')
-rw-r--r--drivers/md/dm-writecache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/dm-writecache.c b/drivers/md/dm-writecache.c
index 1cb137f0ef9d..5c7009d716d0 100644
--- a/drivers/md/dm-writecache.c
+++ b/drivers/md/dm-writecache.c
@@ -190,7 +190,6 @@ struct writeback_struct {
struct dm_writecache *wc;
struct wc_entry **wc_list;
unsigned wc_list_n;
- struct page *page;
struct wc_entry *wc_list_inline[WB_LIST_INLINE];
struct bio bio;
};