aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2020-09-15 09:00:17 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-16 14:37:32 +0200
commit1b24f46925d061b7fab70c828bac6774faf37f93 (patch)
tree2f8800322fbfd10d57677c3e596edc0f4f1fb5cf /drivers/video
parenttty: serial: qcom_geni_serial: Fix the UART wakeup issue (diff)
downloadlinux-dev-1b24f46925d061b7fab70c828bac6774faf37f93.tar.xz
linux-dev-1b24f46925d061b7fab70c828bac6774faf37f93.zip
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 <penguin-kernel@I-love.SAKURA.ne.jp> Link: https://lore.kernel.org/r/20200915000019.3422-1-penguin-kernel@I-love.SAKURA.ne.jp Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/console/newport_con.c6
1 files changed, 0 insertions, 6 deletions
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
};