From patchwork Thu Jun 2 14:51:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [040/104] mtd: drop mtd_has_cmdlinepart() Date: Thu, 02 Jun 2011 04:51:18 -0000 From: Dmitry Eremin-Solenikov X-Patchwork-Id: 98398 Message-Id: <1307026293-8535-6-git-send-email-dbaryshkov@gmail.com> To: linux-mtd@lists.infradead.org This function is unused now. Drop it. Signed-off-by: Dmitry Eremin-Solenikov --- include/linux/mtd/partitions.h | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) 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);