mirror of git://git.sysmocom.de/ofono
gnss: No need to set this to FALSE
The structure is already zerod during g_try_new0
This commit is contained in:
parent
7ce3648711
commit
8b2d2b3641
|
@ -338,7 +338,6 @@ struct ofono_gnss *ofono_gnss_create(struct ofono_modem *modem,
|
|||
if (gnss == NULL)
|
||||
return NULL;
|
||||
|
||||
gnss->enabled = FALSE;
|
||||
gnss->atom = __ofono_modem_add_atom(modem, OFONO_ATOM_TYPE_GNSS,
|
||||
gnss_remove, gnss);
|
||||
|
||||
|
|
Loading…
Reference in New Issue