summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2025-06-25 13:52:39 +0200
committerJakub Kicinski <kuba@kernel.org>2025-06-26 17:54:07 -0700
commitb66d28142dc43f25555b8c1321353ab4b1eccf8d (patch)
tree77cb988856340c4da84f1f3a439e6a5faedc8934 /net/lapb/lapb_subr.c
parent4838bc9e279c566692ee20d241c71626d71240f9 (diff)
ptp: Simplify ptp_read()
The mixture of gotos and direct return codes is inconsistent and just makes the code harder to read. Let it consistently return error codes directly and tidy the code flow up accordingly. No functional change intended. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://patch.msgid.link/20250625115133.486953538@linutronix.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions