mirror of
https://github.com/xcat2/xNBA.git
synced 2025-02-15 10:08:18 +00:00
[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:
parent
6044396cd7
commit
eeba340f6f
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user