From 0fba3d466d20216d5b61a56de8c26c9358ccf931 Mon Sep 17 00:00:00 2001 From: patrick Date: Wed, 24 Jan 2018 13:10:20 +0000 Subject: [PATCH] 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@ --- sys/dev/usb/if_bwfm_usb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)); -- 2.20.1