Diff between dc95c60e08cc8411c626312861198497d5e60a20 and 09b9afbbea758c39c8842062d67a3f4405d7aa12

Changed Files

File Additions Deletions Status
profiles/health/hdp.c +1 -1 modified

Full Patch

diff --git a/profiles/health/hdp.c b/profiles/health/hdp.c
index eaf3e46..54aca9d 100644
--- a/profiles/health/hdp.c
+++ b/profiles/health/hdp.c
@@ -1849,7 +1849,7 @@ static DBusMessage *device_echo(DBusConnection *conn,
 	data->cb = hdp_echo_connect_cb;
 	hdp_create_data_ref(data);
 
-	if (device->mcl_conn && device->mcl != NULL) {
+	if (device->mcl_conn && device->mcl) {
 		if (mcap_create_mdl(device->mcl, data->mdep, data->config,
 						device_create_mdl_cb, data,
 						destroy_create_dc_data, &err))