mxser: remove MOXA_GETMSTATUS ioctl
authorJiri Slaby <jslaby@suse.cz>
Fri, 18 Jun 2021 06:14:34 +0000 (08:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jun 2021 11:10:00 +0000 (13:10 +0200)
commitc94deae5b708b21727eae5bc830cb176c05ec2e8
tree36492e93e99b5ecb70219b7f2a0c474e24e3c95f
parent476c351db8f0e8a837c144a916b23b3abf5a655b
mxser: remove MOXA_GETMSTATUS ioctl

1) MOXA_GETMSTATUS is broken at least since commit ecbbfd44a08f (TTY:
   move tty buffers to tty_port) in 2012.
   Even though it's mentioned in the mon_pa moxa utility, obviously
   noone ever tried that in that timeframe.
2) The ioctl definition was never exposed to userspace, so noone
   should actually be reliably using this.

Provided the above, remove this mxser-special ioctl.

And remove the whole concept of mxser_ioctl_special as this was the last
ioctl in there.

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