Browse Source

[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>
tags/v1.20.1
Michael Brown 13 years ago
parent
commit
eeba340f6f
1 changed files with 0 additions and 2 deletions
  1. 0
    2
      src/drivers/net/sis190.c

+ 0
- 2
src/drivers/net/sis190.c View File

1113
 {
1113
 {
1114
 	struct sis190_private *tp;
1114
 	struct sis190_private *tp;
1115
 	struct net_device *dev;
1115
 	struct net_device *dev;
1116
-	void *ioaddr;
1117
 	int rc;
1116
 	int rc;
1118
 
1117
 
1119
 	rc = sis190_init_board(pdev, &dev);
1118
 	rc = sis190_init_board(pdev, &dev);
1124
 	pci_set_drvdata(pdev, dev);
1123
 	pci_set_drvdata(pdev, dev);
1125
 
1124
 
1126
 	tp = netdev_priv(dev);
1125
 	tp = netdev_priv(dev);
1127
-	ioaddr = tp->mmio_addr;
1128
 
1126
 
1129
 	rc = sis190_get_mac_addr(pdev, dev);
1127
 	rc = sis190_get_mac_addr(pdev, dev);
1130
 	if (rc < 0)
1128
 	if (rc < 0)

Loading…
Cancel
Save