diff options
| author | Christoph Hellwig <[email protected]> | 2021-09-13 07:41:14 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-09-14 17:03:01 +0200 |
| commit | 820879ee1865f7010ec3a949322f643f008c9feb (patch) | |
| tree | 59e97ff1ee770f7b4367eea6a30dac69941bdf0f /tools/perf/scripts/python | |
| parent | d1a1a9606e080c9767e229742f5b331b3b551c0c (diff) | |
sysfs: simplify sysfs_kf_seq_show
Contrary to the comment ->show is never called from lseek for sysfs,
given that sysfs does not use seq_lseek. So remove the NULL ->show
case and just WARN and return an error if some future code path ends
up here.
Acked-by: Tejun Heo <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions