diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2009-05-19 14:14:21 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2009-05-19 14:14:21 +0000 |
commit | f14f01a0591ab5758bed23c284b91e8a80b6e22b (patch) | |
tree | ae611f8bc7ebf9a0d135053690fba41ff509087a /nic3com.c | |
parent | d62988254bee2eb40585502d512cc5a25f2ae10c (diff) | |
download | flashrom-f14f01a0591ab5758bed23c284b91e8a80b6e22b.zip flashrom-f14f01a0591ab5758bed23c284b91e8a80b6e22b.tar.gz |
Documentation improvements and small code/whitespace fixes
Corresponding to flashrom svn r535.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'nic3com.c')
-rw-r--r-- | nic3com.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -110,10 +110,6 @@ void nic3com_chip_writeb(uint8_t val, chipaddr addr) uint8_t nic3com_chip_readb(const chipaddr addr) { - uint8_t val; - OUTL((uint32_t)addr, io_base_addr + BIOS_ROM_ADDR); - val = INB(io_base_addr + BIOS_ROM_DATA); - - return val; + return INB(io_base_addr + BIOS_ROM_DATA); } |