summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem/sms.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/atmodem/sms.c')
-rw-r--r--drivers/atmodem/sms.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/atmodem/sms.c b/drivers/atmodem/sms.c
index d007c63e..61f7aa7d 100644
--- a/drivers/atmodem/sms.c
+++ b/drivers/atmodem/sms.c
@@ -975,7 +975,7 @@ static int at_sms_probe(struct ofono_sms *sms, unsigned int vendor,
return 0;
}
-static int at_sms_remove(struct ofono_sms *sms)
+static void at_sms_remove(struct ofono_sms *sms)
{
struct sms_data *data = ofono_sms_get_data(sms);
@@ -983,8 +983,6 @@ static int at_sms_remove(struct ofono_sms *sms)
g_free(data->cnma_ack_pdu);
g_free(data);
-
- return 0;
}
static struct ofono_sms_driver driver = {