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>
Fri, 21 Feb 2020 09:31:18 +0000 (10:31 +0100)
commite587e8f17433ddb26954f0edf5b2f95c42155ae9
tree4a85e35fe34eb81f7665d283d747ec5606499f1b
parentdce05aa6eec977f1472abed95ccd71276b9a3864
vt: ioctl, switch VT_IS_IN_USE and VT_BUSY to inlines

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