summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Porter <mporter@konsulko.com>2018-05-10 13:47:33 -0400
committerMatt Porter <mporter@konsulko.com>2018-05-11 15:01:00 -0400
commite19585cbe8710549d9c21de2ac37afaa6c185907 (patch)
treeffc61583881636111bb2110f1936649d6e92542a
parent261fac4b0a3bd1810968b2e6d2102ac7a65dceee (diff)
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 <mporter@konsulko.com>
-rw-r--r--telephony-binding/telephony-binding.c8
1 files changed, 0 insertions, 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,
};