Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2012 23:56:10 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r236371 - head/sys/dev/bge
Message-ID:  <201205312356.q4VNuAuc071712@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) ==



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205312356.q4VNuAuc071712>