[PATCH 2/2] drm/amd/display: clean else not following close brace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: jppaulo <jppaulo11@xxxxxxxxxxx>

Put else statement in the same line and after the close brace.

Signed-off-by: Joao Paulo Pereira da Silva <jppaulo11@xxxxxx>
---
 drivers/gpu/drm/amd/display/dc/core/dc_link_enc_cfg.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_enc_cfg.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_enc_cfg.c
index be5a6d008b29..e750c853890e 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_link_enc_cfg.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_enc_cfg.c
@@ -396,8 +396,7 @@ void link_enc_cfg_link_encs_assign(
 				eng_id_req = stream->link->dpia_preferred_eng_id;
 
 			eng_id = find_first_avail_link_enc(stream->ctx, state, eng_id_req);
-		}
-		else
+		} else
 			eng_id =  link_enc->preferred_engine;
 
 		add_link_enc_assignment(state, stream, eng_id);
-- 
2.43.0




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux