diff options
author | Denis Kenzior <denkenz@gmail.com> | 2011-01-10 15:10:40 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-01-10 15:10:40 -0600 |
commit | 1e8d948e2002fcaa7af57569149c74c6adf934a7 (patch) | |
tree | 1c85ef1fbbc372c278d1c721ae80c4d409055936 | |
parent | 51427d85169ac361bc9fe02619a9a54566880577 (diff) | |
download | ofono-1e8d948e2002fcaa7af57569149c74c6adf934a7.tar.bz2 |
tc65: Simplify logic
-rw-r--r-- | plugins/tc65.c | 9 |
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) |