From 36dec8b9380c03782de48c5cf25f6bdc02a70150 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 7 Jun 2010 19:06:26 +0000 Subject: board_enable.c: Remove useless 'name' parameter Every board-enable function is passed a 'const char *name' (board name) which is totally useless as the board name was already printed by flashrom at that point. Also, 95% or so of the board-enables don't use the parameter anyway. So, drop it. Corresponding to flashrom svn r1037. Signed-off-by: Uwe Hermann Acked-by: Carl-Daniel Hailfinger --- wbsio_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wbsio_spi.c') diff --git a/wbsio_spi.c b/wbsio_spi.c index 53a382e..ca7bd01 100644 --- a/wbsio_spi.c +++ b/wbsio_spi.c @@ -59,7 +59,7 @@ done: return flashport; } -int wbsio_check_for_spi(const char *name) +int wbsio_check_for_spi(void) { if (0 == (wbsio_spibase = wbsio_get_spibase(WBSIO_PORT1))) if (0 == (wbsio_spibase = wbsio_get_spibase(WBSIO_PORT2))) -- cgit v1.1