call-volume: Fix style issue
authorAki Niemi <aki.niemi@nokia.com>
Wed, 2 Feb 2011 08:45:57 +0000 (10:45 +0200)
committerAki Niemi <aki.niemi@nokia.com>
Wed, 2 Feb 2011 09:03:21 +0000 (11:03 +0200)
src/call-volume.c

index 1e12d81..06830b7 100644 (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);