]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/gpu/drm/radeon/atombios_dp.c
drm/radeon: remove unnecessary braces around conditionals.
[linux.git] / drivers / gpu / drm / radeon / atombios_dp.c
index 911735f8d5de32526fe6f6aff46ac458bbe5fb25..15b00a347560294ec7d1da9ca1023134ab87991e 100644 (file)
@@ -813,9 +813,8 @@ void radeon_dp_link_train(struct drm_encoder *encoder,
        dp_info.use_dpencoder = true;
        index = GetIndexIntoMasterTable(COMMAND, DPEncoderService);
        if (atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) {
-               if (crev > 1) {
+               if (crev > 1)
                        dp_info.use_dpencoder = false;
-               }
        }
 
        dp_info.enc_id = 0;