]> www.infradead.org Git - users/jedix/linux-maple.git/commit
posix-clock: Remove duplicate compat ioctl() handler
authorThomas Weißschuh <linux@weissschuh.net>
Tue, 25 Feb 2025 17:00:47 +0000 (18:00 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 26 Feb 2025 15:53:58 +0000 (16:53 +0100)
commit7a6b158e00c862ccfa7fe447682bd0bf5c229c73
treecfb56c55cbfa96c24e38d9780bbdbdb826be9ad7
parentf99c5bb396b8d1424ed229d1ffa6f596e3b9c36b
posix-clock: Remove duplicate compat ioctl() handler

The normal and compat ioctl handlers are identical,
which is fine as compat ioctls are detected and handled dynamically
inside the underlying clock implementation.
The duplicate definition however is unnecessary.

Just reuse the regular ioctl handler also for compat ioctls.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Cyrill Gorcunov <gorcunov@gmail.com>
Link: https://lore.kernel.org/all/20250225-posix-clock-compat-cleanup-v2-1-30de86457a2b@weissschuh.net
kernel/time/posix-clock.c