Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Aug 2020 20:07:14 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r364324 - head/sys/dev/mmc/host
Message-ID:  <202008172007.07HK7E2o026318@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Mon Aug 17 20:07:14 2020
New Revision: 364324
URL: https://svnweb.freebsd.org/changeset/base/364324

Log:
  dwmmc: remove printf even under bootverbose
  
  Remove two debugging printfs, even if hidden under boot -v.
  They seemed to be of debug nature and always spit onto the
  console when running camcontrol devlist -v.
  
  Reviewed by:	manu
  MFC after:	2 weeks
  Differential Revision:	https://reviews.freebsd.org/D25962

Modified:
  head/sys/dev/mmc/host/dwmmc.c

Modified: head/sys/dev/mmc/host/dwmmc.c
==============================================================================
--- head/sys/dev/mmc/host/dwmmc.c	Mon Aug 17 19:17:54 2020	(r364323)
+++ head/sys/dev/mmc/host/dwmmc.c	Mon Aug 17 20:07:14 2020	(r364324)
@@ -1461,9 +1461,6 @@ dwmmc_cam_action(struct cam_sim *sim, union ccb *ccb)
 	{
 		struct ccb_trans_settings *cts = &ccb->cts;
 
-		if (bootverbose)
-			device_printf(sc->dev, "Got XPT_GET_TRAN_SETTINGS\n");
-
 		cts->protocol = PROTO_MMCSD;
 		cts->protocol_version = 1;
 		cts->transport = XPORT_MMCSD;
@@ -1481,8 +1478,7 @@ dwmmc_cam_action(struct cam_sim *sim, union ccb *ccb)
 	}
 	case XPT_SET_TRAN_SETTINGS:
 	{
-		if (bootverbose)
-			device_printf(sc->dev, "Got XPT_SET_TRAN_SETTINGS\n");
+
 		dwmmc_cam_settran_settings(sc, ccb);
 		ccb->ccb_h.status = CAM_REQ_CMP;
 		break;



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