Message ID | Y8LNIt97qxLk8e70@ubun2204.myguest.virtualbox.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm/mediatek: dp: Remove extra semicolon | expand |
Hi, Deepak: Deepak R Varma <drv@mailo.com> 於 2023年1月14日 週六 下午11:41寫道: > > Remove unnecessary semicolon at the end of switch block closing brace. > Issue identified using semicolon Coccinelle semantic patch. Applied to mediatek-drm-next [1], thanks. [1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next Regards, Chun-Kuang > > Signed-off-by: Deepak R Varma <drv@mailo.com> > --- > drivers/gpu/drm/mediatek/mtk_dp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/mediatek/mtk_dp.c b/drivers/gpu/drm/mediatek/mtk_dp.c > index 9d085c05c49c..9da58ac5a8b8 100644 > --- a/drivers/gpu/drm/mediatek/mtk_dp.c > +++ b/drivers/gpu/drm/mediatek/mtk_dp.c > @@ -1693,7 +1693,7 @@ static int mtk_dp_training(struct mtk_dp *mtk_dp) > break; > default: > return -EINVAL; > - }; > + } > continue; > } > > -- > 2.34.1 > > >
diff --git a/drivers/gpu/drm/mediatek/mtk_dp.c b/drivers/gpu/drm/mediatek/mtk_dp.c index 9d085c05c49c..9da58ac5a8b8 100644 --- a/drivers/gpu/drm/mediatek/mtk_dp.c +++ b/drivers/gpu/drm/mediatek/mtk_dp.c @@ -1693,7 +1693,7 @@ static int mtk_dp_training(struct mtk_dp *mtk_dp) break; default: return -EINVAL; - }; + } continue; }
Remove unnecessary semicolon at the end of switch block closing brace. Issue identified using semicolon Coccinelle semantic patch. Signed-off-by: Deepak R Varma <drv@mailo.com> --- drivers/gpu/drm/mediatek/mtk_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)