mtd: nand: remove EXPORT_SYMBOL of nand_scan_bbt()
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Thu Mar 24 11:59:02 PDT 2016
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=54ca3cd594db58d65b3670f2af452c1104b09ac6
Commit: 54ca3cd594db58d65b3670f2af452c1104b09ac6
Parent: 46c135c208a3a80bd7f12dee0032bbc6d507a0d9
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
AuthorDate: Thu Jan 14 15:44:49 2016 +0100
Committer: Brian Norris <computersforpeace at gmail.com>
CommitDate: Sat Jan 23 14:00:14 2016 -0800
mtd: nand: remove EXPORT_SYMBOL of nand_scan_bbt()
Since commit 17799359e7b3fa6ef4f2bf926cd6821cf7903ecf ("mtd: nand_bbt:
make nand_scan_bbt() static"), the nand_scan_bbt() function is marked
as static but is still exported using EXPORT_SYMBOL(), which doesn't
make much sense.
This commit gets rid of the useless EXPORT_SYMBOL.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Reviewed-by: Boris Brezillon <boris.brezillon at free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
drivers/mtd/nand/nand_bbt.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/mtd/nand/nand_bbt.c b/drivers/mtd/nand/nand_bbt.c
index 4b6a708..2fbb523 100644
--- a/drivers/mtd/nand/nand_bbt.c
+++ b/drivers/mtd/nand/nand_bbt.c
@@ -1373,5 +1373,3 @@ int nand_markbad_bbt(struct mtd_info *mtd, loff_t offs)
return ret;
}
-
-EXPORT_SYMBOL(nand_scan_bbt);
More information about the linux-mtd-cvs
mailing list