diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-10-15 21:43:30 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-10-15 21:43:30 +0200 |
commit | a95cc3309444678d795e2b29d402c6b0d3b1f059 (patch) | |
tree | 8ab43912cd00f96ec2d0dacea0815228891c2bcc /src | |
parent | 9508e2afee0328fcf3a11775555bb0ffe1b1d3e4 (diff) | |
download | connman-a95cc3309444678d795e2b29d402c6b0d3b1f059.tar.gz connman-a95cc3309444678d795e2b29d402c6b0d3b1f059.tar.bz2 connman-a95cc3309444678d795e2b29d402c6b0d3b1f059.zip |
Fix function declaration
Diffstat (limited to 'src')
-rw-r--r-- | src/device.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/device.c b/src/device.c index 6b73438a..0e2cf59f 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 = { |