1
0
Fork 0

drm: Remove unneeded braces for single statement blocks

Single statement blocks don't need to be enclosed in a pair of braces.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
hifive-unleashed-5.1
Thierry Reding 2014-12-10 13:03:38 +01:00 committed by Daniel Vetter
parent 0cc0b223e7
commit 01073b0846
1 changed files with 2 additions and 4 deletions

View File

@ -2030,11 +2030,9 @@ int drm_mode_getconnector(struct drm_device *dev, void *data,
props_count = connector->properties.count;
for (i = 0; i < DRM_CONNECTOR_MAX_ENCODER; i++) {
if (connector->encoder_ids[i] != 0) {
for (i = 0; i < DRM_CONNECTOR_MAX_ENCODER; i++)
if (connector->encoder_ids[i] != 0)
encoders_count++;
}
}
if (out_resp->count_modes == 0) {
connector->funcs->fill_modes(connector,