]> asedeno.scripts.mit.edu Git - linux.git/commit
compat_ioctl: remove IGNORE_IOCTL()
authorArnd Bergmann <arnd@arndb.de>
Fri, 7 Sep 2018 09:05:54 +0000 (11:05 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 23 Oct 2019 15:23:45 +0000 (17:23 +0200)
commiteede0b859ee62629c94e23612febf4907db3db67
treee50813a83a4db5f57e2e3d9f33c977a9c5912a16
parent2022ca0a940a1625904bfff6879dc8732171d089
compat_ioctl: remove IGNORE_IOCTL()

Since commit 07d106d0a33d ("vfs: fix up ENOIOCTLCMD error handling"),
we don't warn about unhandled compat-ioctl command code any more, but
just return the same error that a native file descriptor returns when
there is no handler.

This means the IGNORE_IOCTL() annotations are completely useless and
can all be removed. TIOCSTART/TIOCSTOP and KDGHWCLK/KDSHWCLK fall into
the same category, but for some reason were listed as COMPATIBLE_IOCTL().

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
fs/compat_ioctl.c