Commit c7b36061 authored by Jing Xiangfeng's avatar Jing Xiangfeng Committed by Daniel Vetter

fbcon: Remove the superfluous break

Remove the superfluous break, as there is a 'return' before it.

Fixes: bad07ff7 ("fbcon: smart blitter usage for scrolling")
Signed-off-by: default avatarJing Xiangfeng <jingxiangfeng@huawei.com>
Reviewed-by: default avatarNick Desaulniers <ndesaulniers@google.com>
Reviewed-by: default avatarGustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200918010521.69950-1-jingxiangfeng@huawei.com
parent 4e139a9a
...@@ -1912,7 +1912,6 @@ static bool fbcon_scroll(struct vc_data *vc, unsigned int t, unsigned int b, ...@@ -1912,7 +1912,6 @@ static bool fbcon_scroll(struct vc_data *vc, unsigned int t, unsigned int b,
vc->vc_video_erase_char, vc->vc_video_erase_char,
vc->vc_size_row * count); vc->vc_size_row * count);
return true; return true;
break;
case SCROLL_WRAP_MOVE: case SCROLL_WRAP_MOVE:
if (b - t - count > 3 * vc->vc_rows >> 2) { if (b - t - count > 3 * vc->vc_rows >> 2) {
...@@ -2003,7 +2002,6 @@ static bool fbcon_scroll(struct vc_data *vc, unsigned int t, unsigned int b, ...@@ -2003,7 +2002,6 @@ static bool fbcon_scroll(struct vc_data *vc, unsigned int t, unsigned int b,
vc->vc_video_erase_char, vc->vc_video_erase_char,
vc->vc_size_row * count); vc->vc_size_row * count);
return true; return true;
break;
case SCROLL_WRAP_MOVE: case SCROLL_WRAP_MOVE:
if (b - t - count > 3 * vc->vc_rows >> 2) { if (b - t - count > 3 * vc->vc_rows >> 2) {
......
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