In the function mdp4_crtc_vblank_irq, there are single
statement blocks with unnecessary braces.
Fix this by removing the unnecessary braces.
Fixes: d47b9587a0d9 ("gpu: drm: msm: disp: mdp4: mdp4_crtc: remove unnecessary braces {}")
Signed-off-by: Fu Zuan <
u2021...@hust.edu.cn>
---
drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c b/drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c
index 169f9de4a12a..ecebabf6d93f 100644
--- a/drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c
+++ b/drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c
@@ -506,9 +506,8 @@ static void mdp4_crtc_vblank_irq(struct mdp_irq *irq, uint32_t irqstatus)
pending = atomic_xchg(&mdp4_crtc->pending, 0);
- if (pending & PENDING_FLIP) {
+ if (pending & PENDING_FLIP)
complete_flip(crtc, NULL);
- }
if (pending & PENDING_CURSOR) {
update_cursor(crtc);
--
2.32.1 (Apple Git-133)