summaryrefslogtreecommitdiff
path: root/include/linux/mtd/partitions.h
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2011-06-02 18:51:18 +0400
committerArtem Bityutskiy <artem.bityutskiy@intel.com>2011-09-11 16:01:58 +0400
commitae2dbad7e9ee2889e57b5ebac5a60d2d4f03439e (patch)
treeedced0b8e13e32010bbdb46c243bfe9731b30bbb /include/linux/mtd/partitions.h
parent4d1220f6fa03f60a3d3995683911d29ae9c317f7 (diff)
downloadlinux-ae2dbad7e9ee2889e57b5ebac5a60d2d4f03439e.tar.xz
mtd: drop mtd_has_cmdlinepart()
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>
Diffstat (limited to 'include/linux/mtd/partitions.h')
-rw-r--r--include/linux/mtd/partitions.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/mtd/partitions.h b/include/linux/mtd/partitions.h
index 3a6f0372fc96..08c9c7b8b8e2 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);