From: patrick Date: Wed, 24 Jan 2018 13:10:20 +0000 (+0000) Subject: Do not print that the firmware was successfully loaded in the USB backend X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0fba3d466d20216d5b61a56de8c26c9358ccf931;p=openbsd Do not print that the firmware was successfully loaded in the USB backend driver. It is only useful to know if firmware loading has failed. This means fewer clutter in dmesg(8). Spotted by and ok stsp@ --- diff --git a/sys/dev/usb/if_bwfm_usb.c b/sys/dev/usb/if_bwfm_usb.c index 7cdc61086e1..e2986e6a2df 100644 --- a/sys/dev/usb/if_bwfm_usb.c +++ b/sys/dev/usb/if_bwfm_usb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bwfm_usb.c,v 1.7 2018/01/08 23:30:36 patrick Exp $ */ +/* $OpenBSD: if_bwfm_usb.c,v 1.8 2018/01/24 13:10:20 patrick Exp $ */ /* * Copyright (c) 2010-2016 Broadcom Corporation * Copyright (c) 2016,2017 Patrick Wildt @@ -380,7 +380,6 @@ bwfm_usb_attachhook(struct device *self) sc->sc_chip = letoh32(brom.chip); sc->sc_chiprev = letoh32(brom.chiprev); - printf("%s: firmware loaded\n", DEVNAME(sc)); } bwfm_usb_dl_cmd(sc, DL_RESETCFG, &brom, sizeof(brom));