From b148a4edf1303302ac93ab0de68cee6060ddca80 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Wed, 25 Mar 2015 09:52:46 +0100 Subject: [PATCH] audio/control: Remove unused control_is_active function --- profiles/audio/control.c | 10 ---------- profiles/audio/control.h | 1 - 2 files changed, 11 deletions(-) diff --git a/profiles/audio/control.c b/profiles/audio/control.c index 4db5b9230..f4656d852 100644 --- a/profiles/audio/control.c +++ b/profiles/audio/control.c @@ -338,13 +338,3 @@ int control_init_remote(struct btd_service *service) return 0; } - -gboolean control_is_active(struct btd_service *service) -{ - struct control *control = btd_service_get_user_data(service); - - if (control && control->session) - return TRUE; - - return FALSE; -} diff --git a/profiles/audio/control.h b/profiles/audio/control.h index da8f16c98..4bda89689 100644 --- a/profiles/audio/control.h +++ b/profiles/audio/control.h @@ -29,7 +29,6 @@ struct btd_service; int control_init_target(struct btd_service *service); int control_init_remote(struct btd_service *service); void control_unregister(struct btd_service *service); -gboolean control_is_active(struct btd_service *service); int control_connect(struct btd_service *service); int control_disconnect(struct btd_service *service); -- 2.47.3