summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem/voicecall.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-09-01 22:27:08 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-09-01 22:27:08 -0500
commit9caa606bcc350389d31ac51b7728729aa52603ed (patch)
tree9e3d9413d83b0f24c9b78e1ee84550dbe72cfc67 /drivers/atmodem/voicecall.c
parent422df0edfb321b0905ca85b02b31cb9c824a6d9d (diff)
downloadofono-9caa606bcc350389d31ac51b7728729aa52603ed.tar.bz2
Make remove functions not return anything
Diffstat (limited to 'drivers/atmodem/voicecall.c')
-rw-r--r--drivers/atmodem/voicecall.c4
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 = {