From: kevlo Date: Fri, 2 Jun 2017 15:09:13 +0000 (+0000) Subject: Remove a bogus run_read() call about getting MAC version. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a98f2ad09f0039d8ceef04bc66672bcd58b590cc;p=openbsd Remove a bogus run_read() call about getting MAC version. ok stsp@ --- 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 @@ -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);