summaryrefslogtreecommitdiffstats
path: root/binding
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-06 20:27:16 +0000
commitf13d311563ba6c0952e90d73456ae1008649cf13 (patch)
treedc91ff874fe5037632e6c9d0b223454772da2b4f /binding
parentfdec31ded84ccc099923e3293cbb917d7a310f13 (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')
-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 */
};