diff options
| author | Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com> | 2026-02-04 20:00:32 +0200 |
|---|---|---|
| committer | William Breathitt Gray <wbg@kernel.org> | 2026-03-21 22:41:51 +0900 |
| commit | cbf8db23fc58db8d516ebc7aa57c4563f36532b9 (patch) | |
| tree | 3415311ac35a911272e26f9fea025c74d4dea54a /kernel/livepatch | |
| parent | f338e77383789c0cae23ca3d48adcc5e9e137e3c (diff) | |
counter: sysfs: remove double return in counter_sysfs_attr_add()
sysfs attribute creation for counter extensions has been consolidated
into a single function, counter_sysfs_exts_add().
Inside counter_sysfs_attr_add(), although the code was changed to return
the result of counter_sysfs_exts_add(), an unreachable return 0;
statement was left at the end of the function.
Remove it.
Fixes: bb4bbbec664f ("counter: Consolidate Counter extension sysfs attribute creation")
Signed-off-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
Link: https://lore.kernel.org/r/20260204180032.514328-1-cosmin-gabriel.tanislav.xa@renesas.com
Signed-off-by: William Breathitt Gray <wbg@kernel.org>
Diffstat (limited to 'kernel/livepatch')
0 files changed, 0 insertions, 0 deletions
