projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42984af
)
ubi: Remove unnecessary struct declaration
author
Wan Jiabing
<wanjiabing@vivo.com>
Tue, 6 Apr 2021 07:16:18 +0000
(15:16 +0800)
committer
Richard Weinberger
<richard@nod.at>
Thu, 15 Apr 2021 20:01:25 +0000
(22:01 +0200)
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>
drivers/mtd/ubi/ubi.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/ubi/ubi.h
b/drivers/mtd/ubi/ubi.h
index c2da77163f948142a77b4b3aea0e50918f806373..7c083ad58274a2673fc1cc38f903da3995467a98 100644
(file)
--- 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.
*