[PATCH 1/2] audio/control: Remove unused control_is_active function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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 4db5b92..f4656d8 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 da8f16c..4bda896 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);
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux