diff options
author | uwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-06-07 19:06:26 +0000 |
---|---|---|
committer | uwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-06-07 19:06:26 +0000 |
commit | 65615af46c157e6482b548190a772ac8c15ace42 (patch) | |
tree | e7fc7878a77427a5b0d6486c5d121ac3bd36c2a0 /wbsio_spi.c | |
parent | 50898311ac82e4c412eee679008e4f95c51251bb (diff) | |
download | flashrom-65615af46c157e6482b548190a772ac8c15ace42.tar.gz |
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.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1037 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'wbsio_spi.c')
-rw-r--r-- | wbsio_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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))) |