summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2016-01-20 01:31:02 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2016-01-20 01:31:02 +0000
commit0051014651244c5599e627b50c38ad47a6d71da6 (patch)
treeb24c2534439538feed3950df04ffe75b2921e5ac
parent890f541b593c1ca10d75c5466f82493ad054bed5 (diff)
remove an unused ifp variable
-rw-r--r--sys/dev/usb/if_smsc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/usb/if_smsc.c b/sys/dev/usb/if_smsc.c
index 460dd56229f..fd668796da1 100644
--- a/sys/dev/usb/if_smsc.c
+++ b/sys/dev/usb/if_smsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_smsc.c,v 1.25 2015/11/25 03:10:00 dlg Exp $ */
+/* $OpenBSD: if_smsc.c,v 1.26 2016/01/20 01:31:01 jsg Exp $ */
/* $FreeBSD: src/sys/dev/usb/net/if_smsc.c,v 1.1 2012/08/15 04:03:55 gonzo Exp $ */
/*-
* Copyright (c) 2012
@@ -1091,7 +1091,6 @@ smsc_tick_task(void *xsc)
{
int s;
struct smsc_softc *sc = xsc;
- struct ifnet *ifp;
struct mii_data *mii;
if (sc == NULL)
@@ -1099,7 +1098,6 @@ smsc_tick_task(void *xsc)
if (usbd_is_dying(sc->sc_udev))
return;
- ifp = &sc->sc_ac.ac_if;
mii = &sc->sc_mii;
if (mii == NULL)
return;