From 86cea3b353e4026682d77e3bf2f1818bce5650a8 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Mon, 26 Nov 2012 12:48:43 +0100 Subject: [PATCH] adaptername: Remove not needed empty remove callback Remove callback is called only if it is not NULL so there is no need to register empty callback function. --- plugins/adaptername.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plugins/adaptername.c b/plugins/adaptername.c index 353f11c2b..2013b7b1a 100644 --- a/plugins/adaptername.c +++ b/plugins/adaptername.c @@ -261,14 +261,9 @@ fail: return FALSE; } -static void adaptername_remove(struct btd_adapter *adapter) -{ -} - static struct btd_adapter_driver adaptername_driver = { .name = "adaptername", .probe = adaptername_probe, - .remove = adaptername_remove, }; static int adaptername_init(void) -- 2.47.3