diff options
author | Jiri Slaby <jslaby@suse.cz> | 2016-06-23 13:34:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-25 09:04:48 -0700 |
commit | 1b0ec88ac1cb0413a717bc3cefea72d6f2533672 (patch) | |
tree | 96d1b2f774f5575b7de57b6a8efebfa63d9f27a1 /drivers/tty/vt/keyboard.c | |
parent | 17b2720b114cc95b2b7c8c0f5cfa20e44e1f5912 (diff) | |
download | linux-stable-1b0ec88ac1cb0413a717bc3cefea72d6f2533672.tar.gz linux-stable-1b0ec88ac1cb0413a717bc3cefea72d6f2533672.tar.bz2 linux-stable-1b0ec88ac1cb0413a717bc3cefea72d6f2533672.zip |
vt: remove lines parameter from scrollback
It is always called with 0, so remove the parameter and pass the
default down to scrolldelta without checking.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/vt/keyboard.c')
-rw-r--r-- | drivers/tty/vt/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/vt/keyboard.c b/drivers/tty/vt/keyboard.c index f973bfce5d08..cd08c103eb47 100644 --- a/drivers/tty/vt/keyboard.c +++ b/drivers/tty/vt/keyboard.c @@ -579,7 +579,7 @@ static void fn_scroll_forw(struct vc_data *vc) static void fn_scroll_back(struct vc_data *vc) { - scrollback(vc, 0); + scrollback(vc); } static void fn_show_mem(struct vc_data *vc) |