Re: [PATCH] posix-clock: Remove duplicate ioctl handler

From: Cyrill Gorcunov
Date: Sat Jan 25 2025 - 07:25:29 EST


On Sat, Jan 25, 2025 at 11:20:49AM +0100, Thomas Weißschuh wrote:
> The normal and compat ioctl handlers are identical,
> which is fine as compat ioctls are detected and handled dynamically [0].
> The duplicate definition however is unnecessary.
> Just reuse the regular ioctl handler also for compat ioctls.
>
> [0] https://lore.kernel.org/lkml/20250125-posix-clock-compat_ioctl-v2-1-11c865c500eb@xxxxxxxxxxxxxx/
>
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
Reviewed-by: Cyrill Gorcunov <gorcunov@xxxxxxxxx>