commit | b33cc1db6fbc6442689f1c6c2fa3814a4d78f72f | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Fri Jun 20 15:24:50 2025 +0200 |
committer | Thomas Gleixner <tglx@linutronix.de> | Wed Jun 25 12:52:56 2025 +0200 |
tree | 8db09df201e09a3f4594a52f812e2089df2b1953 | |
parent | 23921c1865c8c423e0052608a6d5b2e31fc6ca50 [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 tidy the code flow up accordingly. No functional change intended. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>