From d6799281e17094529ea8930a23aeebe4a0526c9f Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Wed, 23 Dec 2009 11:09:22 -0800 Subject: [PATCH] ethernet: remove unused variable --- src/nm-device-ethernet.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/nm-device-ethernet.c b/src/nm-device-ethernet.c index fab68ada6..037d60338 100644 --- a/src/nm-device-ethernet.c +++ b/src/nm-device-ethernet.c @@ -1913,13 +1913,10 @@ mdio_read (NMDeviceEthernet *self, int fd, struct ifreq *ifr, int location) { struct mii_ioctl_data *mii; int val = -1; - const char * iface; g_return_val_if_fail (fd >= 0, -1); g_return_val_if_fail (ifr != NULL, -1); - iface = nm_device_get_iface (NM_DEVICE (self)); - mii = (struct mii_ioctl_data *) &ifr->ifr_ifru; mii->reg_num = location;