summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorKevin Lo <kevlo@cvs.openbsd.org>2018-07-03 00:47:50 +0000
committerKevin Lo <kevlo@cvs.openbsd.org>2018-07-03 00:47:50 +0000
commit4c73c6444b61e5f79a8605bcd0b2ed84cd94dc68 (patch)
tree5a691f14a938dd4fe54b76f3700aeaa0fac72b79 /sys/dev
parent7f09a6e3aa2a4ec8e91cd0ac20b6c42e23d0034b (diff)
Nuke unused variable.
ok deraadt@, mpi@, rob@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/if_mos.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/usb/if_mos.c b/sys/dev/usb/if_mos.c
index 761597dbd98..4b7d6324f42 100644
--- a/sys/dev/usb/if_mos.c
+++ b/sys/dev/usb/if_mos.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_mos.c,v 1.38 2017/01/22 10:17:39 dlg Exp $ */
+/* $OpenBSD: if_mos.c,v 1.39 2018/07/03 00:47:49 kevlo Exp $ */
/*
* Copyright (c) 2008 Johann Christian Rode <jcrode@gmx.net>
@@ -376,7 +376,6 @@ int
mos_miibus_readreg(struct device *dev, int phy, int reg)
{
struct mos_softc *sc = (void *)dev;
- uWord val;
int i,res;
if (usbd_is_dying(sc->mos_udev)) {
@@ -384,8 +383,6 @@ mos_miibus_readreg(struct device *dev, int phy, int reg)
return (0);
}
- USETW(val, 0);
-
mos_lock_mii(sc);
mos_reg_write_2(sc, MOS_PHY_DATA, 0);