From 1b24f46925d061b7fab70c828bac6774faf37f93 Mon Sep 17 00:00:00 2001 From: Tetsuo Handa Date: Tue, 15 Sep 2020 09:00:17 +0900 Subject: newport_con: remove no-op newport_set_origin() We don't need to call vc->vc_sw->con_set_origin() from set_origin() if it is no-op. Signed-off-by: Tetsuo Handa Link: https://lore.kernel.org/r/20200915000019.3422-1-penguin-kernel@I-love.SAKURA.ne.jp Signed-off-by: Greg Kroah-Hartman --- drivers/video/console/newport_con.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'drivers/video') diff --git a/drivers/video/console/newport_con.c b/drivers/video/console/newport_con.c index 0d0989040c58..d494108fce4c 100644 --- a/drivers/video/console/newport_con.c +++ b/drivers/video/console/newport_con.c @@ -678,11 +678,6 @@ static bool newport_scroll(struct vc_data *vc, unsigned int t, unsigned int b, return true; } -static int newport_set_origin(struct vc_data *vc) -{ - return 0; -} - static void newport_save_screen(struct vc_data *vc) { } const struct consw newport_con = { @@ -699,7 +694,6 @@ const struct consw newport_con = { .con_blank = newport_blank, .con_font_set = newport_font_set, .con_font_default = newport_font_default, - .con_set_origin = newport_set_origin, .con_save_screen = newport_save_screen }; -- cgit v1.2.3-58-ga151