cbs: Fix style issues

This commit is contained in:
Aki Niemi 2011-02-02 10:46:44 +02:00
parent a7f1a1583c
commit 1af43cf7f0
1 changed files with 6 additions and 6 deletions

View File

@ -44,11 +44,11 @@
static GSList *g_drivers = NULL;
enum etws_topic_type {
ETWS_TOPIC_TYPE_EARTHQUAKE = 4352,
ETWS_TOPIC_TYPE_TSUNAMI = 4353,
ETWS_TOPIC_TYPE_EARTHQUAKE_TSUNAMI = 4354,
ETWS_TOPIC_TYPE_TEST = 4355,
ETWS_TOPIC_TYPE_EMERGENCY = 4356,
ETWS_TOPIC_TYPE_EARTHQUAKE = 4352,
ETWS_TOPIC_TYPE_TSUNAMI = 4353,
ETWS_TOPIC_TYPE_EARTHQUAKE_TSUNAMI = 4354,
ETWS_TOPIC_TYPE_TEST = 4355,
ETWS_TOPIC_TYPE_EMERGENCY = 4356,
};
struct ofono_cbs {
@ -648,7 +648,7 @@ static void cbs_remove(struct ofono_atom *atom)
if (cbs == NULL)
return;
if (cbs->driver && cbs->driver->remove)
if (cbs->driver != NULL && cbs->driver->remove != NULL)
cbs->driver->remove(cbs);
cbs_assembly_free(cbs->assembly);