Hi Szymon, On Wed, Mar 25, 2015 at 10:52 AM, Szymon Janc <szymon.janc@xxxxxxxxx> wrote: > --- > 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 Applied, thanks. -- Luiz Augusto von Dentz -- 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