summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/sis900.c
diff options
context:
space:
mode:
authorMichael Brown2011-03-16 19:58:52 +0100
committerMichael Brown2011-03-16 20:32:23 +0100
commitc018d57803f318e3d3419219f340c004738dda6f (patch)
tree7b8f3c5ddf8e634fdda3d6fd1b5f61a59a15dd25 /src/drivers/net/sis900.c
parent[igbvf] Remove some unused Linux-specific portions of igbvf.h (diff)
downloadipxe-c018d57803f318e3d3419219f340c004738dda6f.tar.gz
ipxe-c018d57803f318e3d3419219f340c004738dda6f.tar.xz
ipxe-c018d57803f318e3d3419219f340c004738dda6f.zip
[e1000] Remove unused variable when ICR register is simply cleared
On reset and close, the ICR register is read to clear any pending interrupts, but the value is simply ignored. Avoid assigning the value to a variable, to inhibit a warning from gcc 4.6. Also fix a potential race condition in reset routines which clear interrupts before disabling them. Reported-by: Ralph Giles <giles@thaumas.net> Tested-by: Ralph Giles <giles@thaumas.net> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/sis900.c')
0 files changed, 0 insertions, 0 deletions