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
This commit is contained in:
@@ -1461,9 +1461,6 @@ dwmmc_cam_action(struct cam_sim *sim, union ccb *ccb)
|
|||||||
{
|
{
|
||||||
struct ccb_trans_settings *cts = &ccb->cts;
|
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 = PROTO_MMCSD;
|
||||||
cts->protocol_version = 1;
|
cts->protocol_version = 1;
|
||||||
cts->transport = XPORT_MMCSD;
|
cts->transport = XPORT_MMCSD;
|
||||||
@@ -1481,8 +1478,7 @@ dwmmc_cam_action(struct cam_sim *sim, union ccb *ccb)
|
|||||||
}
|
}
|
||||||
case XPT_SET_TRAN_SETTINGS:
|
case XPT_SET_TRAN_SETTINGS:
|
||||||
{
|
{
|
||||||
if (bootverbose)
|
|
||||||
device_printf(sc->dev, "Got XPT_SET_TRAN_SETTINGS\n");
|
|
||||||
dwmmc_cam_settran_settings(sc, ccb);
|
dwmmc_cam_settran_settings(sc, ccb);
|
||||||
ccb->ccb_h.status = CAM_REQ_CMP;
|
ccb->ccb_h.status = CAM_REQ_CMP;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user