diff options
Diffstat (limited to 'drivers/atmodem/voicecall.c')
-rw-r--r-- | drivers/atmodem/voicecall.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/atmodem/voicecall.c b/drivers/atmodem/voicecall.c index 70f42d90..45e0de1b 100644 --- a/drivers/atmodem/voicecall.c +++ b/drivers/atmodem/voicecall.c @@ -1003,15 +1003,13 @@ static int at_voicecall_probe(struct ofono_voicecall *vc, unsigned int vendor, return 0; } -static int at_voicecall_remove(struct ofono_voicecall *vc) +static void at_voicecall_remove(struct ofono_voicecall *vc) { struct voicecall_data *vd = ofono_voicecall_get_data(vc); g_slist_foreach(vd->calls, (GFunc) g_free, NULL); g_slist_free(vd->calls); g_free(vd); - - return 0; } static struct ofono_voicecall_driver driver = { |