[PATCH 1/2] drivers: mtd: Mark functions as static and remove unused function in lpddr_cmds.c
Brian Norris
computersforpeace at gmail.com
Wed Dec 18 02:57:22 EST 2013
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 at gmail.com>
> Reviewed-by: Josh Triplett <josh at joshtriplett.org>
Edited the $subjects and pushed both to l2-mtd.git. Thanks!
Brian
More information about the linux-mtd
mailing list