diff options
author | 2014-04-15 00:32:05 +0200 | |
---|---|---|
committer | 2014-04-15 23:20:30 -0700 | |
commit | 9fd6c6c18c1a4a3220473c76fd447c5708b5ecf9 (patch) | |
tree | 2a7e7d73411540a3f95aac7e6762cd67fa717088 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 3.15-rc1 (diff) | |
download | linux-dev-9fd6c6c18c1a4a3220473c76fd447c5708b5ecf9.tar.xz linux-dev-9fd6c6c18c1a4a3220473c76fd447c5708b5ecf9.zip |
mtd: nand: omap: fix compile warning on ‘erased_sector_bitflips’
Commit 2c9f2365 (mtd: nand: omap: ecc.calculate: merge omap3_calculate_ecc_bch4
in omap_calculate_ecc_bch) introduced minor compile warning
"‘erased_sector_bitflips’ defined but not used [-Wunused-function]" when
compiling without CONFIG_MTD_NAND_OMAP_BCH. Move function
erased_sector_bitflips() into the same ifdef section as the only caller.
Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions