david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[sis190] Avoid unused variable warning in gcc 4.6

Reported-by: Ralph Giles <giles@thaumas.net>
Tested-by: Ralph Giles <giles@thaumas.net>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2011-03-16 19:21:39 +00:00
parent 6044396cd7
commit eeba340f6f
1 changed files with 0 additions and 2 deletions

View File

@ -1113,7 +1113,6 @@ static int sis190_probe(struct pci_device *pdev)
{
struct sis190_private *tp;
struct net_device *dev;
void *ioaddr;
int rc;
rc = sis190_init_board(pdev, &dev);
@ -1124,7 +1123,6 @@ static int sis190_probe(struct pci_device *pdev)
pci_set_drvdata(pdev, dev);
tp = netdev_priv(dev);
ioaddr = tp->mmio_addr;
rc = sis190_get_mac_addr(pdev, dev);
if (rc < 0)