drm/msm/dp/dp_ctrl: Remove unneeded semicolon
authorXu Wang <vulab@iscas.ac.cn>
Fri, 29 Jan 2021 09:44:16 +0000 (09:44 +0000)
committerRob Clark <robdclark@chromium.org>
Sun, 31 Jan 2021 19:34:37 +0000 (11:34 -0800)
fix semicolon.cocci warnings:
drivers/gpu/drm/msm/dp/dp_ctrl.c:1161:2-3: Unneeded semicolon

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/dp/dp_ctrl.c

index 5ac155d..55b7d0e 100644 (file)
@@ -1158,7 +1158,7 @@ static int dp_ctrl_link_rate_down_shift(struct dp_ctrl_private *ctrl)
        default:
                ret = -EINVAL;
                break;
-       };
+       }
 
        if (!ret)
                DRM_DEBUG_DP("new rate=0x%x\n", ctrl->link->link_params.rate);