Do not print that the firmware was successfully loaded in the USB backend
authorpatrick <patrick@openbsd.org>
Wed, 24 Jan 2018 13:10:20 +0000 (13:10 +0000)
committerpatrick <patrick@openbsd.org>
Wed, 24 Jan 2018 13:10:20 +0000 (13:10 +0000)
driver.  It is only useful to know if firmware loading has failed.  This
means fewer clutter in dmesg(8).

Spotted by and ok stsp@

sys/dev/usb/if_bwfm_usb.c

index 7cdc610..e2986e6 100644 (file)
@@ -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 <patrick@blueri.se>
@@ -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));