From 099e3b5d041cdd6ac34f7c63949a66e9a66e51ac Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Wed, 16 Jan 2019 02:00:32 -0800 Subject: binding: network: remove unimplemented counter functionality counter_event wasn't implemented, and the respective reset_counters verb doesn't really have any use. Change-Id: Ibc2142b7f58c06e67430b31307bc7139837c9866 Signed-off-by: Matt Ranostay --- test/agl-service-network-ctl.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'test') diff --git a/test/agl-service-network-ctl.c b/test/agl-service-network-ctl.c index 91f86d4..6808b8d 100644 --- a/test/agl-service-network-ctl.c +++ b/test/agl-service-network-ctl.c @@ -142,11 +142,6 @@ static void on_state_reply(void *closure, struct afb_wsj1_msg *msg) on_reply(closure, "state", msg); } -static void on_reset_counters_reply(void *closure, struct afb_wsj1_msg *msg) -{ - on_reply(closure, "reset_counters", msg); -} - static void on_technologies_reply(void *closure, struct afb_wsj1_msg *msg) { on_reply(closure, "technologies", msg); @@ -601,10 +596,6 @@ static const struct cmd cmds[] = { .verb = "state", .call = call_void, .reply = on_state_reply, - }, { - .verb = "reset_counters", - .call = call_service_arg, - .reply = on_reset_counters_reply, }, { .verb = "technologies", .call = call_void, -- cgit 1.2.3-korg