From e19585cbe8710549d9c21de2ac37afaa6c185907 Mon Sep 17 00:00:00 2001 From: Matt Porter Date: Thu, 10 May 2018 13:47:33 -0400 Subject: telephony-binding: remove empty pre-init function Pre-init was implemented but unused. Remove the useless code. Change-Id: Ie3e9a14666fbd2ff4efa038d30d8e9db823d4972 Signed-off-by: Matt Porter --- telephony-binding/telephony-binding.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/telephony-binding/telephony-binding.c b/telephony-binding/telephony-binding.c index f0865ed..6d8966c 100644 --- a/telephony-binding/telephony-binding.c +++ b/telephony-binding/telephony-binding.c @@ -250,13 +250,6 @@ static const struct afb_verb_v2 verbs[]= { {NULL} }; -static int preinit() -{ - AFB_NOTICE("Pre-init telephony service"); - - return 0; -} - static int init() { AFB_NOTICE("Initializing telephony service"); @@ -268,6 +261,5 @@ const struct afb_binding_v2 afbBindingV2 = { .api = "telephony", .specification = NULL, .verbs = verbs, - .preinit = preinit, .init = init, }; -- cgit 1.2.3-korg