From a95cc3309444678d795e2b29d402c6b0d3b1f059 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 15 Oct 2008 21:43:30 +0200 Subject: [PATCH] Fix function declaration --- src/device.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/device.c b/src/device.c index 6b73438..0e2cf59 100644 --- a/src/device.c +++ b/src/device.c @@ -72,7 +72,7 @@ static int device_probe(struct connman_element *element) return -ENODEV; } -static int device_remove(struct connman_element *element) +static void device_remove(struct connman_element *element) { struct connman_device *device = connman_element_get_data(element); @@ -84,8 +84,6 @@ static int device_remove(struct connman_element *element) connman_element_set_data(element, NULL); g_free(device); - - return 0; } static struct connman_driver device_driver = { -- 1.7.9.5