call-volume: Fix style issue

This commit is contained in:
Aki Niemi 2011-02-02 10:45:57 +02:00
parent 9f619fd467
commit a7f1a1583c
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ static void call_volume_remove(struct ofono_atom *atom)
if (cv == NULL)
return;
if (cv->driver && cv->driver->remove)
if (cv->driver != NULL && cv->driver->remove != NULL)
cv->driver->remove(cv);
g_free(cv);