diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2020-08-17 20:07:14 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2020-08-17 20:07:14 +0000 |
commit | d3fd812ca9c8a5cf0bf53d3b337eeacb437b4f0a (patch) | |
tree | 0c498ea550e1e7496de9eda05fcd28fd8315a037 /sys/dev/mmc | |
parent | 92ca23a4b820fecc7001dacdbbd57b1c5bba2b1e (diff) | |
download | src-d3fd812ca9c8a5cf0bf53d3b337eeacb437b4f0a.tar.gz src-d3fd812ca9c8a5cf0bf53d3b337eeacb437b4f0a.zip |
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
Notes
Notes:
svn path=/head/; revision=364324
Diffstat (limited to 'sys/dev/mmc')
-rw-r--r-- | sys/dev/mmc/host/dwmmc.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/mmc/host/dwmmc.c b/sys/dev/mmc/host/dwmmc.c index 682d4db81b2b..67b400640446 100644 --- a/sys/dev/mmc/host/dwmmc.c +++ b/sys/dev/mmc/host/dwmmc.c @@ -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; |