summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/tc65.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/tc65.c b/plugins/tc65.c
index 68f6246e..1948bb21 100644
--- a/plugins/tc65.c
+++ b/plugins/tc65.c
@@ -236,14 +236,7 @@ static struct ofono_modem_driver tc65_driver = {
static int tc65_init(void)
{
- int rc;
-
- rc = ofono_modem_driver_register(&tc65_driver);
-
- if (rc != 0)
- return rc;
-
- return 0;
+ return ofono_modem_driver_register(&tc65_driver);
}
static void tc65_exit(void)