diff options
| author | Thomas Gleixner <[email protected]> | 2025-06-25 11:52:39 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-06-27 00:54:07 +0000 |
| commit | b66d28142dc43f25555b8c1321353ab4b1eccf8d (patch) | |
| tree | 77cb988856340c4da84f1f3a439e6a5faedc8934 /drivers/fpga/xilinx-selectmap.c | |
| parent | ptp: Convert chardev code to lock guards (diff) | |
| download | kernel-b66d28142dc43f25555b8c1321353ab4b1eccf8d.tar.gz kernel-b66d28142dc43f25555b8c1321353ab4b1eccf8d.zip | |
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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions
