From ccab1d7ba2b11dc8ec1369e1e54d0a0968441b37 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Mon, 26 Nov 2012 12:48:44 +0100 Subject: [PATCH] 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. --- plugins/formfactor.c | 5 ----- 1 file changed, 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) -- 2.47.3