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 15:20:39 +0000 (17:20 +0200)
commit8c3bc92d11c51461eadc43ca8ac9912c82cab320
treeb1f4f532e1142fa2d75d0c07168723f832ae6231
parentfc3d6dd88e21c84550aa807d4cb1182bd161f383
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