summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorKevin Lo <kevlo@cvs.openbsd.org>2017-06-02 15:09:14 +0000
committerKevin Lo <kevlo@cvs.openbsd.org>2017-06-02 15:09:14 +0000
commit6fba6bb632d483aaf3063ca39a5c361ae69bbdf3 (patch)
treec2a4a0c275ef81da635af35fd3829aae2e13fb36 /sys
parent9349aa8ff75ef04ca6be0bb25777236bbf77c423 (diff)
Remove a bogus run_read() call about getting MAC version.
ok stsp@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/if_run.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/usb/if_run.c b/sys/dev/usb/if_run.c
index 4401282b27f..cbeb3066d37 100644
--- a/sys/dev/usb/if_run.c
+++ b/sys/dev/usb/if_run.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_run.c,v 1.118 2017/03/26 15:31:15 deraadt Exp $ */
+/* $OpenBSD: if_run.c,v 1.119 2017/06/02 15:09:13 kevlo Exp $ */
/*-
* Copyright (c) 2008-2010 Damien Bergamini <damien.bergamini@free.fr>
@@ -846,7 +846,6 @@ run_load_microcode(struct run_softc *sc)
return EINVAL;
}
- run_read(sc, RT2860_ASIC_VER_ID, &tmp);
/* write microcode image */
run_write_region_1(sc, RT2870_FW_BASE, ucode, size);
free(ucode, M_DEVBUF, size);