Commit 611e22b1 authored by Zheng Bin's avatar Zheng Bin Committed by Heiko Stuebner

drm/rockchip: Remove unneeded semicolon

Fixes coccicheck warning:

drivers/gpu/drm/rockchip/cdn-dp-reg.c:604:2-3: Unneeded semicolon
drivers/gpu/drm/rockchip/cdn-dp-reg.c:622:2-3: Unneeded semicolon
drivers/gpu/drm/rockchip/cdn-dp-reg.c:703:2-3: Unneeded semicolon
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZheng Bin <zhengbin13@huawei.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20200424074410.1070-1-zhengbin13@huawei.com
parent 7c49abb4
...@@ -601,7 +601,7 @@ static int cdn_dp_get_msa_misc(struct video_info *video, ...@@ -601,7 +601,7 @@ static int cdn_dp_get_msa_misc(struct video_info *video,
case YCBCR_4_2_0: case YCBCR_4_2_0:
val[0] = 5; val[0] = 5;
break; break;
}; }
switch (video->color_depth) { switch (video->color_depth) {
case 6: case 6:
...@@ -619,7 +619,7 @@ static int cdn_dp_get_msa_misc(struct video_info *video, ...@@ -619,7 +619,7 @@ static int cdn_dp_get_msa_misc(struct video_info *video,
case 16: case 16:
val[1] = 4; val[1] = 4;
break; break;
}; }
msa_misc = 2 * val[0] + 32 * val[1] + msa_misc = 2 * val[0] + 32 * val[1] +
((video->color_fmt == Y_ONLY) ? (1 << 14) : 0); ((video->color_fmt == Y_ONLY) ? (1 << 14) : 0);
...@@ -700,7 +700,7 @@ int cdn_dp_config_video(struct cdn_dp_device *dp) ...@@ -700,7 +700,7 @@ int cdn_dp_config_video(struct cdn_dp_device *dp)
case 16: case 16:
val = BCS_16; val = BCS_16;
break; break;
}; }
val += video->color_fmt << 8; val += video->color_fmt << 8;
ret = cdn_dp_reg_write(dp, DP_FRAMER_PXL_REPR, val); ret = cdn_dp_reg_write(dp, DP_FRAMER_PXL_REPR, val);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment