drm/radeon: remove unnecessary braces around conditionals.
As single statement conditionals do not need to be wrapped around braces, the unnecessary braces can be removed. Signed-off-by: Wambui Karuga <wambui.karugax@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:

committed by
Alex Deucher

parent
fbd62354f0
commit
3c20d544ef
@@ -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;
|
||||
|
Reference in New Issue
Block a user