diff options
| author | Geert Uytterhoeven <[email protected]> | 2021-07-14 17:15:59 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-07-21 16:11:42 +0200 |
| commit | d3ce197903279c5497d4fa9cc97b519400dc4a44 (patch) | |
| tree | d6a7a2511c1360bdad69f47cc114b668929b5f95 /tools/perf/scripts/python | |
| parent | fe968ca2cac91888310b143a483123c84906e3fc (diff) | |
sysfs: Use local reference in compat_only_sysfs_link_entry_to_kobj()
As we have just obtained target_kobj->sd into a local variable, and
incremented the object's reference count, it is better to use the local
variable instead of the original reference.
Signed-off-by: Geert Uytterhoeven <[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