vt: ioctl, switch VT_IS_IN_USE and VT_BUSY to inlines
authorJiri Slaby <jslaby@suse.cz>
Wed, 19 Feb 2020 07:39:44 +0000 (08:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Apr 2020 14:34:36 +0000 (16:34 +0200)
commit8d1c9fea39a3a55af0735a4e304d23df7f02dde1
tree277de08fe040ac727ec7bbef7bd763d320d48419
parent56676fb5e9e61aa216759cf05fb55edd45a67c14
vt: ioctl, switch VT_IS_IN_USE and VT_BUSY to inlines

commit e587e8f17433ddb26954f0edf5b2f95c42155ae9 upstream.

These two were macros. Switch them to static inlines, so that it's more
understandable what they are doing.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200219073951.16151-2-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vt_ioctl.c