summaryrefslogtreecommitdiff
path: root/cmd/mtdparts.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mtdparts.c')
-rw-r--r--cmd/mtdparts.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/cmd/mtdparts.c b/cmd/mtdparts.c
index b31db73ebfc..a021b2d198d 100644
--- a/cmd/mtdparts.c
+++ b/cmd/mtdparts.c
@@ -70,7 +70,6 @@
*
*/
-#include <common.h>
#include <command.h>
#include <env.h>
#include <log.h>
@@ -292,7 +291,6 @@ static void current_save(void)
index_partitions();
}
-
/**
* Produce a mtd_info given a type and num.
*
@@ -402,7 +400,6 @@ static int part_validate_eraseblock(struct mtdids *id, struct part_info *part)
return 0;
}
-
/**
* Performs sanity check for supplied partition. Offset and size are
* verified to be within valid range. Partition type is checked and
@@ -1129,7 +1126,6 @@ static int generate_mtdparts(char *buf, u32 buflen)
p += len;
maxlen -= len;
-
/* add offset only when there is a gap between
* partitions */
if ((!prev_part && (offset != 0)) ||
@@ -1710,7 +1706,6 @@ static int parse_mtdids(const char *const ids)
return 0;
}
-
/**
* Parse and initialize global mtdids mapping and create global
* device/partition list.