summaryrefslogtreecommitdiffstats
path: root/drivers/isimodem/call-forwarding.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isimodem/call-forwarding.c')
-rw-r--r--drivers/isimodem/call-forwarding.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/isimodem/call-forwarding.c b/drivers/isimodem/call-forwarding.c
index 68d1bb51..39fe0ee0 100644
--- a/drivers/isimodem/call-forwarding.c
+++ b/drivers/isimodem/call-forwarding.c
@@ -99,7 +99,7 @@ static int isi_call_forwarding_probe(struct ofono_call_forwarding *cf,
return 0;
}
-static int isi_call_forwarding_remove(struct ofono_call_forwarding *cf)
+static void isi_call_forwarding_remove(struct ofono_call_forwarding *cf)
{
struct call_forwarding_data *data = ofono_call_forwarding_get_data(cf);
@@ -107,8 +107,6 @@ static int isi_call_forwarding_remove(struct ofono_call_forwarding *cf)
g_isi_client_destroy(data->client);
g_free(data);
}
-
- return 0;
}
static struct ofono_call_forwarding_driver driver = {