tc65: Simplify logic

This commit is contained in:
Denis Kenzior 2011-01-10 15:10:40 -06:00
parent 51427d8516
commit 1e8d948e20
1 changed files with 1 additions and 8 deletions

View File

@ -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)