diff --git a/sound/soc/codecs/tfa98xx.c b/sound/soc/codecs/tfa98xx.c index ad2b243ea10c..254ecf4c512e 100644 --- a/sound/soc/codecs/tfa98xx.c +++ b/sound/soc/codecs/tfa98xx.c @@ -226,23 +226,9 @@ static enum tfa_error tfa98xx_write_re25(struct tfa_device *tfa, int value) static enum tfa_error tfa98xx_tfa_start(struct tfa98xx *tfa98xx, int next_profile, int vstep) { enum tfa_error err; - ktime_t start_time, stop_time; - u64 delta_time; - - if (trace_level & 8) { - start_time = ktime_get_boottime(); - } err = tfa_dev_start(tfa98xx->tfa, next_profile, vstep); - if (trace_level & 8) { - stop_time = ktime_get_boottime(); - delta_time = ktime_to_ns(ktime_sub(stop_time, start_time)); - do_div(delta_time, 1000); - dev_dbg(&tfa98xx->i2c->dev, "tfa_dev_start(%d,%d) time = %lld us\n", - next_profile, vstep, delta_time); - } - if ((err == tfa_error_ok) && (tfa98xx->set_mtp_cal)) { enum tfa_error err_cal; err_cal = tfa98xx_write_re25(tfa98xx->tfa, tfa98xx->cal_data);