From 8b2d2b3641bb2f78aaae9edcd71e79230cc9177c Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 25 Mar 2011 14:49:56 -0500 Subject: [PATCH] gnss: No need to set this to FALSE The structure is already zerod during g_try_new0 --- src/gnss.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gnss.c b/src/gnss.c index 2c874506..ba576ea5 100644 --- a/src/gnss.c +++ b/src/gnss.c @@ -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);