bluez: Fix unnecessary NULL checks
This commit is contained in:
parent
621d857d49
commit
b167c2bbd3
@ -139,7 +139,6 @@ remove_element_and_fail:
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
cleanup_and_fail:
|
cleanup_and_fail:
|
||||||
if (element != NULL)
|
|
||||||
g_object_unref (G_OBJECT (element));
|
g_object_unref (G_OBJECT (element));
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user