Author: yongari
Date: Thu May 31 23:56:10 2012
New Revision: 236371
URL: http://svn.freebsd.org/changeset/base/236371

Log:
  Remove unnecessary device_printfs.
  
  Pointed out by:       marius

Modified:
  head/sys/dev/bge/if_bge.c

Modified: head/sys/dev/bge/if_bge.c
==============================================================================
--- head/sys/dev/bge/if_bge.c   Thu May 31 23:22:00 2012        (r236370)
+++ head/sys/dev/bge/if_bge.c   Thu May 31 23:56:10 2012        (r236371)
@@ -2776,17 +2776,9 @@ bge_mbox_reorder(struct bge_softc *sc)
        for (;;) {
                dev = device_get_parent(bus);
                bus = device_get_parent(dev);
-               device_printf(sc->bge_dev, "dev : %s%d, bus : %s%d\n",
-                   device_get_name(dev), device_get_unit(dev),
-                   device_get_name(bus), device_get_unit(bus));
                if (device_get_devclass(dev) != pcib)
                        break;
                for (i = 0; i < count; i++) {
-                       device_printf(sc->bge_dev,
-                           "probing dev : %s%d, vendor : 0x%04x "
-                           "device : 0x%04x\n",
-                           device_get_name(dev), device_get_unit(dev),
-                           pci_get_vendor(dev), pci_get_device(dev));
                        if (pci_get_vendor(dev) ==
                            mbox_reorder_lists[i].vendor &&
                            pci_get_device(dev) ==
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to