From 1e8d948e2002fcaa7af57569149c74c6adf934a7 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Mon, 10 Jan 2011 15:10:40 -0600 Subject: [PATCH] tc65: Simplify logic --- plugins/tc65.c | 9 +-------- 1 file changed, 1 insertion(+), 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)