From: Dmitry Eremin-Solenikov Date: Thu, 2 Jun 2011 14:51:18 +0000 (+0400) Subject: mtd: drop mtd_has_cmdlinepart() X-Git-Tag: v3.12-rc1~4484^2~208 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae2dbad7e9ee2889e57b5ebac5a60d2d4f03439e;p=kernel%2Fkernel-generic.git mtd: drop mtd_has_cmdlinepart() This function is unused now. Drop it. Signed-off-by: Dmitry Eremin-Solenikov Signed-off-by: Artem Bityutskiy --- diff --git a/include/linux/mtd/partitions.h b/include/linux/mtd/partitions.h index 3a6f037..08c9c7b 100644 --- a/include/linux/mtd/partitions.h +++ b/include/linux/mtd/partitions.h @@ -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);