From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikram Narayanan Date: Tue, 23 Oct 2012 16:46:36 +0530 Subject: [U-Boot] [PATCH v2] common/spl: Mark arguments as unused Message-ID: <50867C94.7070502@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de As dummy{1,2} are not used anywhere, mark it with __maybe_unused Signed-off-by: Vikram Narayanan Cc: Stefan Roese --- Changes for v2: use __always_unused instead of __maybe_unused common/spl/spl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/spl/spl.c b/common/spl/spl.c index 0d829c0..62fd3bd 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -145,7 +145,7 @@ static void spl_ram_load_image(void) } #endif -void board_init_r(gd_t *dummy1, ulong dummy2) +void board_init_r(__always_unused gd_t *dummy1, __always_unused ulong dummy2) { u32 boot_device; debug(">>spl:board_init_r()\n"); -- 1.7.4.1