mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 06:01:16 +02:00
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 <uwe@hermann-uwe.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
This commit is contained in:
@ -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)))
|
||||
|
Reference in New Issue
Block a user