diff options
author | 2024-01-22 14:25:46 +0800 | |
---|---|---|
committer | 2024-01-24 21:11:54 -0500 | |
commit | 69097a631c034451a75ca7cb6025460ba3a08f80 (patch) | |
tree | daa22aa89be21d9c78e68201bd5b572918953572 /scripts/generate_rust_analyzer.py | |
parent | scsi: hisi_sas: Remove redundant checks for automatic debugfs dump (diff) | |
download | linux-rng-69097a631c034451a75ca7cb6025460ba3a08f80.tar.xz linux-rng-69097a631c034451a75ca7cb6025460ba3a08f80.zip |
scsi: hisi_sas: Check whether debugfs is enabled before removing or releasing it
hisi_sas debugfs remove should be executed only when debugfs is enabled.
Check whether debugfs is enabled and then remove it only if enabled.
Signed-off-by: Yihang Li <liyihang9@huawei.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Link: https://lore.kernel.org/r/1705904747-62186-4-git-send-email-chenxiang66@hisilicon.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions