diff options
author | Michael Brown | 2011-03-16 19:35:57 +0100 |
---|---|---|
committer | Michael Brown | 2011-03-16 20:32:23 +0100 |
commit | 070100b21d2319477fe349829fed9b1e6796f5b8 (patch) | |
tree | 8e25f3f82a406cec69c011860ab85d285db90939 /src/drivers/net/phantom | |
parent | [build] Avoid spurious address comparison warnings in gcc 4.6 (diff) | |
download | ipxe-070100b21d2319477fe349829fed9b1e6796f5b8.tar.gz ipxe-070100b21d2319477fe349829fed9b1e6796f5b8.tar.xz ipxe-070100b21d2319477fe349829fed9b1e6796f5b8.zip |
[phantom] Remove unused variable in phantom_dmesg()
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/phantom')
-rw-r--r-- | src/drivers/net/phantom/phantom.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/drivers/net/phantom/phantom.c b/src/drivers/net/phantom/phantom.c index 87ade7e3..1060103c 100644 --- a/src/drivers/net/phantom/phantom.c +++ b/src/drivers/net/phantom/phantom.c @@ -476,7 +476,6 @@ static int phantom_dmesg ( struct phantom_nic *phantom, unsigned int log, unsigned int max_lines ) { uint32_t head; uint32_t tail; - uint32_t len; uint32_t sig; uint32_t offset; int byte; @@ -487,7 +486,6 @@ static int phantom_dmesg ( struct phantom_nic *phantom, unsigned int log, /* Locate log */ head = phantom_readl ( phantom, UNM_CAM_RAM_DMESG_HEAD ( log ) ); - len = phantom_readl ( phantom, UNM_CAM_RAM_DMESG_LEN ( log ) ); tail = phantom_readl ( phantom, UNM_CAM_RAM_DMESG_TAIL ( log ) ); sig = phantom_readl ( phantom, UNM_CAM_RAM_DMESG_SIG ( log ) ); DBGC ( phantom, "Phantom %p firmware dmesg buffer %d (%08x-%08x)\n", |