From a98f2ad09f0039d8ceef04bc66672bcd58b590cc Mon Sep 17 00:00:00 2001 From: kevlo Date: Fri, 2 Jun 2017 15:09:13 +0000 Subject: [PATCH] Remove a bogus run_read() call about getting MAC version. ok stsp@ --- sys/dev/usb/if_run.c | 3 +-- 1 file changed, 1 insertion(+), 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 @@ -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); -- 2.20.1