summaryrefslogtreecommitdiffstats
path: root/binding/bluetooth-api.c
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2020-02-04 12:02:22 -0800
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-02-17 18:01:42 +0000
commit75a77977de0d3a56b975033f0c09213c32b171f4 (patch)
treea42477ee4c676fd3715556d83bd29d8f6159c960 /binding/bluetooth-api.c
parent563b5bfa6764ba259be3e4a9f3ab42bc53d90cb7 (diff)
binding: bluetooth: remove unused version verb
No other applications/bindings check the version verb to figure which schema version to use. Bug-AGL: SPEC-3156 Change-Id: I5baea8d7a38101bc9378f90c40981e73074ed558 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding/bluetooth-api.c')
-rw-r--r--binding/bluetooth-api.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/binding/bluetooth-api.c b/binding/bluetooth-api.c
index 48bc460..faa9e02 100644
--- a/binding/bluetooth-api.c
+++ b/binding/bluetooth-api.c
@@ -1303,15 +1303,6 @@ out_success:
afb_req_success(request, NULL, "Bluetooth - AVRCP controls");
}
-static void bluetooth_version(afb_req_t request)
-{
- json_object *jresp = json_object_new_object();
-
- json_object_object_add(jresp, "version", json_object_new_string("2.0"));
-
- afb_req_success(request, jresp, "Bluetooth - Binding version");
-}
-
static const afb_verb_t bluetooth_verbs[] = {
{
.verb = "subscribe",
@@ -1373,11 +1364,6 @@ static const afb_verb_t bluetooth_verbs[] = {
.session = AFB_SESSION_NONE,
.callback = bluetooth_avrcp_controls,
.info = "AVRCP controls"
- }, {
- .verb = "version",
- .session = AFB_SESSION_NONE,
- .callback = bluetooth_version,
- .info = "Binding API version",
},
{ } /* marker for end of the array */
};