summaryrefslogtreecommitdiff
path: root/drivers/tty/synclink_gt.c
diff options
context:
space:
mode:
authoroushixiong <oushixiong@kylinos.cn>2023-08-03 09:54:09 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-03 10:51:51 +0300
commitf68279ca7f806c44fbbae0a631e5603ba426d9be (patch)
treed58cdc545e9c8198876b7fe1d74aba1778d452b5 /drivers/tty/synclink_gt.c
parent220965d15cef417a6d6ecfbd41c64d582522f48c (diff)
downloadlinux-f68279ca7f806c44fbbae0a631e5603ba426d9be.tar.xz
tty: vt: Remove some repetitive initialization
Members vc_col, vc_rows and vc_size_row of the struct vc_data have been initialized in visual_init(), so it is no longer needed to initialize them in vc_init() again. Signed-off-by: oushixiong <oushixiong@kylinos.cn> Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Link: https://lore.kernel.org/r/20230803065409.461031-1-oushixiong@kylinos.cn Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/synclink_gt.c')
0 files changed, 0 insertions, 0 deletions