monitor-manager-kms: Fix some minor style issues
Spotted by Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
b24cd5ae08
commit
2f7843b295
@ -229,8 +229,10 @@ read_output_edid (MetaMonitorManagerKms *manager_kms,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (edid_blob->length > 0)
|
if (edid_blob->length > 0)
|
||||||
|
{
|
||||||
return g_bytes_new_with_free_func (edid_blob->data, edid_blob->length,
|
return g_bytes_new_with_free_func (edid_blob->data, edid_blob->length,
|
||||||
(GDestroyNotify)drmModeFreePropertyBlob, edid_blob);
|
(GDestroyNotify)drmModeFreePropertyBlob, edid_blob);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
drmModeFreePropertyBlob (edid_blob);
|
drmModeFreePropertyBlob (edid_blob);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user