[PATCH] mtd: onenand: omap: remove two unused functions
Brian Norris
computersforpeace at gmail.com
Mon Sep 16 22:24:17 EDT 2013
On Wed, Aug 07, 2013 at 08:16:49PM +0200, Paul Bolle wrote:
> Nothing calls omap2_onenand_rephase(). And __adjust_timing() is only
> called by omap2_onenand_rephase(). Remove these two unused functions.
>
> Signed-off-by: Paul Bolle <pebolle at tiscali.nl>
> ---
> Completely untested.
Compile-tested successfully here. And it gets rid of a few sparse warnings:
drivers/mtd/onenand/omap2.c:592:5: warning: no previous prototype for 'omap2_onenand_rephase' [-Wmissing-prototypes]
drivers/mtd/onenand/omap2.c:592:5: warning: symbol 'omap2_onenand_rephase' was not declared. Should it be static? [sparse]
Applied to l2-mtd.git. Thanks!
Brian
More information about the linux-mtd
mailing list