[PATCH] [v2] ubi: Remove unnecessary struct declaration
Wan Jiabing
wanjiabing at vivo.com
Tue Apr 6 08:16:18 BST 2021
struct ubi_wl_entry is defined at 178th line.
The declaration here is unnecessary. Remove it.
Reviewed-by: Tudor Ambarus <tudor.ambarus at microchip.com>
Signed-off-by: Wan Jiabing <wanjiabing at vivo.com>
---
Changelog:
v2:
- Add reviewer info and modify the subject line.
---
drivers/mtd/ubi/ubi.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h
index c2da77163f94..7c083ad58274 100644
--- a/drivers/mtd/ubi/ubi.h
+++ b/drivers/mtd/ubi/ubi.h
@@ -388,8 +388,6 @@ struct ubi_volume_desc {
int mode;
};
-struct ubi_wl_entry;
-
/**
* struct ubi_debug_info - debugging information for an UBI device.
*
--
2.25.1
More information about the linux-mtd
mailing list