[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <86015b42-1f87-9f0c-cb34-9d30e8da98a4@embeddedor.com>
Date: Thu, 17 Sep 2020 13:52:15 -0500
From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
To: Jing Xiangfeng <jingxiangfeng@...wei.com>,
b.zolnierkie@...sung.com, gregkh@...uxfoundation.org,
daniel.vetter@...ll.ch, jirislaby@...nel.org,
ndesaulniers@...gle.com, natechancellor@...il.com,
george.kennedy@...cle.com, peda@...ntia.se
Cc: dri-devel@...ts.freedesktop.org, linux-fbdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fbcon: Remove the superfluous break
On 9/17/20 08:15, Jing Xiangfeng wrote:
> Remove the superfuous break, as there is a 'return' before it.
>
> Signed-off-by: Jing Xiangfeng <jingxiangfeng@...wei.com>
Reviewed-by: Gustavo A. R. Silva <gustavoars@...nel.org>
Also, the following Fixes tag should be included in the changelog text:
Fixes: bad07ff74c32 ("fbcon: smart blitter usage for scrolling")
Thanks
--
Gustavo
> ---
> drivers/video/fbdev/core/fbcon.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/video/fbdev/core/fbcon.c b/drivers/video/fbdev/core/fbcon.c
> index 0b49b0f44edf..623359aadd1e 100644
> --- a/drivers/video/fbdev/core/fbcon.c
> +++ b/drivers/video/fbdev/core/fbcon.c
> @@ -1727,7 +1727,6 @@ static bool fbcon_scroll(struct vc_data *vc, unsigned int t, unsigned int b,
> vc->vc_video_erase_char,
> vc->vc_size_row * count);
> return true;
> - break;
>
> case SCROLL_WRAP_MOVE:
> if (b - t - count > 3 * vc->vc_rows >> 2) {
> @@ -1818,7 +1817,6 @@ static bool fbcon_scroll(struct vc_data *vc, unsigned int t, unsigned int b,
> vc->vc_video_erase_char,
> vc->vc_size_row * count);
> return true;
> - break;
>
> case SCROLL_WRAP_MOVE:
> if (b - t - count > 3 * vc->vc_rows >> 2) {
>
Powered by blists - more mailing lists