summaryrefslogtreecommitdiff
path: root/plugins/formfactor.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2012-11-26 12:48:44 +0100
committerJohan Hedberg <johan.hedberg@intel.com>2012-11-26 14:55:58 +0200
commitccab1d7ba2b11dc8ec1369e1e54d0a0968441b37 (patch)
treeb5b8cd21dd2a725559d2da77ab6c9c9239c9c3f4 /plugins/formfactor.c
parent86cea3b353e4026682d77e3bf2f1818bce5650a8 (diff)
downloadbluez-ccab1d7ba2b11dc8ec1369e1e54d0a0968441b37.tar.gz
formfactor: 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.
Diffstat (limited to 'plugins/formfactor.c')
-rw-r--r--plugins/formfactor.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/formfactor.c b/plugins/formfactor.c
index 0e19ac62a..1978f0399 100644
--- a/plugins/formfactor.c
+++ b/plugins/formfactor.c
@@ -124,14 +124,9 @@ static int formfactor_probe(struct btd_adapter *adapter)
return 0;
}
-static void formfactor_remove(struct btd_adapter *adapter)
-{
-}
-
static struct btd_adapter_driver formfactor_driver = {
.name = "formfactor",
.probe = formfactor_probe,
- .remove = formfactor_remove,
};
static int formfactor_init(void)