summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWan Jiabing <wanjiabing@vivo.com>2021-04-06 15:16:18 +0800
committerRichard Weinberger <richard@nod.at>2021-04-15 22:01:25 +0200
commit9a29f7f020e06f14eb126bcb84a7f0d166415824 (patch)
tree87a3c4f84cf286bd21bb2b43e6f095aa81c15ea0
parent42984af09afc414d540fcc8247f42894b0378a91 (diff)
downloadlinux-stable-9a29f7f020e06f14eb126bcb84a7f0d166415824.tar.gz
linux-stable-9a29f7f020e06f14eb126bcb84a7f0d166415824.tar.bz2
linux-stable-9a29f7f020e06f14eb126bcb84a7f0d166415824.zip
ubi: Remove unnecessary struct declaration
struct ubi_wl_entry is defined at 178th line. The declaration here is unnecessary. Remove it. Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> Signed-off-by: Richard Weinberger <richard@nod.at>
-rw-r--r--drivers/mtd/ubi/ubi.h2
1 files changed, 0 insertions, 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.
*