summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorHuaisheng Ye <yehs1@lenovo.com>2019-08-25 09:24:31 +0200
committerMike Snitzer <snitzer@redhat.com>2019-08-26 16:54:15 +0200
commit58912dbce6becd31c09b02a1a26b76a5ee23763b (patch)
tree1a63296280f54b4916dc3137fffb83920d787cb4 /drivers/md
parentdm zoned: fix invalid memory access (diff)
downloadlinux-58912dbce6becd31c09b02a1a26b76a5ee23763b.tar.xz
linux-58912dbce6becd31c09b02a1a26b76a5ee23763b.zip
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')
-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;
};