From: Marcel Holtmann Date: Wed, 15 Oct 2008 19:43:30 +0000 (+0200) Subject: Fix function declaration X-Git-Tag: 0.1~139 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a95cc3309444678d795e2b29d402c6b0d3b1f059;p=platform%2Fupstream%2Fconnman.git Fix function declaration --- 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 = {