aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2021-07-16 14:44:07 +0300
committerGreg Kroah-Hartman <[email protected]>2021-07-21 17:28:42 +0200
commite64daad660a0c9ace3acdc57099fffe5ed83f977 (patch)
tree249022dd106d11ae5b031ebf19361479e1b9ef22 /tools/perf/scripts/python/export-to-postgresql.py
parent4afa0c22eed33cfe0c590742387f0d16f32412f3 (diff)
driver core: Prevent warning when removing a device link from unregistered consumer
sysfs_remove_link() causes a warning if the parent directory does not exist. That can happen if the device link consumer has not been registered. So do not attempt sysfs_remove_link() in that case. Fixes: 287905e68dd29 ("driver core: Expose device link details in sysfs") Signed-off-by: Adrian Hunter <[email protected]> Cc: [email protected] # 5.9+ Reviewed-by: Rafael J. Wysocki <[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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions