Skip to content

Commit

Permalink
mtd: drop mtd_has_cmdlinepart()
Browse files Browse the repository at this point in the history
This function is unused now. Drop it.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
  • Loading branch information
Dmitry Eremin-Solenikov authored and Artem Bityutskiy committed Sep 11, 2011
1 parent 4d1220f commit ae2dbad
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions include/linux/mtd/partitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,6 @@ static inline int of_mtd_parse_partitions(struct device *dev,
}
#endif

#ifdef CONFIG_MTD_CMDLINE_PARTS
static inline int mtd_has_cmdlinepart(void) { return 1; }
#else
static inline int mtd_has_cmdlinepart(void) { return 0; }
#endif

int mtd_is_partition(struct mtd_info *mtd);
int mtd_add_partition(struct mtd_info *master, char *name,
long long offset, long long length);
Expand Down

0 comments on commit ae2dbad

Please sign in to comment.