From 32b52153ec83f9c7d360a1e590e55abfa8ced57d Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Thu, 12 Jun 2014 15:07:37 +0300 Subject: [PATCH] HDP: trivial: Fix redundant debug print --- profiles/health/hdp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profiles/health/hdp.c b/profiles/health/hdp.c index 48dad52c8..23ab59a90 100644 --- a/profiles/health/hdp.c +++ b/profiles/health/hdp.c @@ -930,7 +930,8 @@ static void hdp_mcap_mdl_connected_cb(struct mcap_mdl *mdl, void *data) struct hdp_device *dev = data; struct hdp_channel *chan; - DBG("hdp_mcap_mdl_connected_cb"); + DBG(""); + if (dev->ndc == NULL) return; -- 2.47.3