]> git.ipfire.org Git - thirdparty/linux.git/commit
ptp: Split out PTP_MASK_EN_SINGLE ioctl code
authorThomas Gleixner <tglx@linutronix.de>
Wed, 25 Jun 2025 11:52:36 +0000 (13:52 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 27 Jun 2025 00:54:06 +0000 (17:54 -0700)
commit745e3c751c4d339d9e443398ce45fcbd8972ed0e
treec85c9e6779e8f13de38353547114d84bddbf63a7
parent6a0f480478a7ef802ad801eb4690b24442618f50
ptp: Split out PTP_MASK_EN_SINGLE ioctl code

Finish the ptp_ioctl() cleanup by splitting out the PTP_MASK_EN_SINGLE
ioctl code and removing the remaining local variables and return
statements.

No functional change intended.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20250625115133.364422719@linutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/ptp/ptp_chardev.c