aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorJulian Wiedmann <[email protected]>2021-04-14 19:08:02 +0200
committerMartin K. Petersen <[email protected]>2021-04-15 22:19:40 -0400
commit20540a5645f00015ca8eb968b98d62a1b275ceb8 (patch)
treee2e07ef886bcb79208fd8842ff115db0122c7e26 /scripts/gdb/linux/timerlist.py
parentab1fa88062f8d1d9e8947719b8ed3ab48a60476c (diff)
scsi: zfcp: Clean up sysfs code for SFP diagnostics
The error path from zfcp_adapter_enqueue() no longer attempts to remove the diagnostics attributes if they haven't been created yet. So remove the manual 'sysfs_established' guard for this case, and use device_add_groups() to add all adapter-related sysfs attributes in one go. Link: https://lore.kernel.org/r/37a97537f675d643006271f37723c346189b6eec.1618417667.git.bblock@linux.ibm.com Reviewed-by: Benjamin Block <[email protected]> Reviewed-by: Steffen Maier <[email protected]> Signed-off-by: Julian Wiedmann <[email protected]> Signed-off-by: Benjamin Block <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions