diff options
author | Miquel Raynal | 2018-08-16 17:30:20 +0200 |
---|---|---|
committer | Jagan Teki | 2018-09-20 20:10:49 +0530 |
commit | b01c146d182da12e0b60022b34d15fd3a0c0f0fc (patch) | |
tree | 5a4136453d4e57ea2d706fb5db3efa657d1125a9 /cmd/ubi.c | |
parent | b0036f70044d3d59d5c90f0c4f1c8c1a90b7cd55 (diff) |
cmd: ubi: delete useless and misleading definitions
These definitions are simply not used and are misleading because similar
definitions exist in jffs2/load_kernel.h and are used widely to define
MTD device types (which is, by the way, totally redundant with what the
MTD core does). Remove these definitions.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Jagan Teki <jagan@openedev.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'cmd/ubi.c')
-rw-r--r-- | cmd/ubi.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cmd/ubi.c b/cmd/ubi.c index 913f0f71fd9..0a3405a3b1d 100644 --- a/cmd/ubi.c +++ b/cmd/ubi.c @@ -27,11 +27,6 @@ #undef ubi_msg #define ubi_msg(fmt, ...) printf("UBI: " fmt "\n", ##__VA_ARGS__) -#define DEV_TYPE_NONE 0 -#define DEV_TYPE_NAND 1 -#define DEV_TYPE_ONENAND 2 -#define DEV_TYPE_NOR 3 - /* Private own data */ static struct ubi_device *ubi; static char buffer[80]; |