All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] common/spl: Mark arguments as unused
@ 2012-10-23 10:05 Vikram Narayanan
  2012-10-23 10:26 ` Stefan Roese
  0 siblings, 1 reply; 11+ messages in thread
From: Vikram Narayanan @ 2012-10-23 10:05 UTC (permalink / raw)
  To: u-boot

As dummy{1,2} are not used anywhere, mark it with __maybe_unused

Signed-off-by: Vikram Narayanan <vikram186@gmail.com>
Cc: Stefan Roese <sr@denx.de>
---
 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(__maybe_unused gd_t *dummy1, __maybe_unused ulong dummy2)
 {
 	u32 boot_device;
 	debug(">>spl:board_init_r()\n");
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-10-29 18:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-23 10:05 [U-Boot] [PATCH] common/spl: Mark arguments as unused Vikram Narayanan
2012-10-23 10:26 ` Stefan Roese
2012-10-23 10:55   ` Vikram Narayanan
2012-10-23 15:45   ` Tom Rini
2012-10-23 17:15     ` Vikram Narayanan
2012-10-24  1:52       ` Scott Wood
2012-10-24  4:14         ` Vikram Narayanan
2012-10-24 17:11           ` Scott Wood
2012-10-28 17:04             ` Vikram Narayanan
2012-10-29 16:34               ` Scott Wood
2012-10-29 18:54                 ` Vikram Narayanan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.