Re: [PATCH 1/2] drivers: mtd: Mark functions as static and removeunused function in lpddr_cmds.c

From: Brian Norris
Date: Wed Dec 18 2013 - 02:57:32 EST


On Fri, Dec 13, 2013 at 12:44:07PM +0530, Rashika Kheria wrote:
> This patch marks the functions do_write_buffer() and do_erase_oneblock()
> as static because because they are not used outside this file. It also
> removes the unused function word_program() in lpddr/lpddr_cmds.c.
>
> Thus, it also removes the following warnings in lpddr/lpddr_cmds.c:
> drivers/mtd/lpddr/lpddr_cmds.c:391:5: warning: no previous prototype for âdo_write_bufferâ [-Wmissing-prototypes]
> drivers/mtd/lpddr/lpddr_cmds.c:472:5: warning: no previous prototype for âdo_erase_oneblockâ [-Wmissing-prototypes]
> drivers/mtd/lpddr/lpddr_cmds.c:751:5: warning: no previous prototype for âword_programâ [-Wmissing-prototypes]
>
> Signed-off-by: Rashika Kheria <rashika.kheria@xxxxxxxxx>
> Reviewed-by: Josh Triplett <josh@xxxxxxxxxxxxxxxx>

Edited the $subjects and pushed both to l2-mtd.git. Thanks!

Brian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/