[dm-devel] [PATCH] dm writecache: remove unused variable sz in writecache_status
Shenghui Wang
shhuiw at foxmail.com
Thu Oct 25 02:38:32 UTC 2018
sz defined but not used in writecache_status. Remove it.
Signed-off-by: Shenghui Wang <shhuiw at foxmail.com>
---
drivers/md/dm-writecache.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/md/dm-writecache.c b/drivers/md/dm-writecache.c
index 5f1f80d424dd..562c32f644b8 100644
--- a/drivers/md/dm-writecache.c
+++ b/drivers/md/dm-writecache.c
@@ -2226,7 +2226,6 @@ static void writecache_status(struct dm_target *ti, status_type_t type,
{
struct dm_writecache *wc = ti->private;
unsigned extra_args;
- unsigned sz = 0;
uint64_t x;
switch (type) {
--
2.18.0
More information about the dm-devel
mailing list