[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20131218075722.GD5551@norris-Latitude-E6410>
Date: Tue, 17 Dec 2013 23:57:22 -0800
From: Brian Norris <computersforpeace@...il.com>
To: Rashika Kheria <rashika.kheria@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-mtd@...ts.infradead.org,
David Woodhouse <dwmw2@...radead.org>, josh@...htriplett.org
Subject: Re: [PATCH 1/2] drivers: mtd: Mark functions as static and remove
unused function in lpddr_cmds.c
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@...il.com>
> Reviewed-by: Josh Triplett <josh@...htriplett.org>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists