aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorQinglang Miao <[email protected]>2021-04-14 19:08:03 +0200
committerMartin K. Petersen <[email protected]>2021-04-15 22:19:40 -0400
commitbe46e39ae3be8cde8dd0d09d7c0f8eed443747ab (patch)
treef03f5cb5ec437b3b84f25eb3312897fac2918bdb /scripts/gdb/linux/timerlist.py
parent20540a5645f00015ca8eb968b98d62a1b275ceb8 (diff)
scsi: zfcp: Move the position of put_device()
Place the put_device() call after device_unregister() in both zfcp_unit_remove() and zfcp_sysfs_port_remove_store() to make it more natural. put_device() ought to be the last time we touch the object in both functions. Add comments after put_device() to make code clearer. Link: https://lore.kernel.org/r/0a568c7733ba0f1dde28b0c663b90270d44dd540.1618417667.git.bblock@linux.ibm.com Suggested-by: Steffen Maier <[email protected]> Suggested-by: Benjamin Block <[email protected]> Signed-off-by: Qinglang Miao <[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