diff options
| author | Yihang Li <liyihang9@huawei.com> | 2024-01-22 14:25:45 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-09 13:32:09 +0100 |
| commit | 9722973ad03833ec4f693883f7f353ef128eb4d6 (patch) | |
| tree | 2e630da1287faff610b4a9e044714dabf03d548d /mm | |
| parent | 3de1b50f055dc2ca7072a526cdda21f691c22dd9 (diff) | |
| download | linux-9722973ad03833ec4f693883f7f353ef128eb4d6.tar.gz linux-9722973ad03833ec4f693883f7f353ef128eb4d6.tar.bz2 linux-9722973ad03833ec4f693883f7f353ef128eb4d6.zip | |
scsi: hisi_sas: Remove redundant checks for automatic debugfs dump
commit 3f030550476566b12091687c70071d05ad433e0d upstream.
In commit 63f0733d07ce ("scsi: hisi_sas: Allocate DFX memory during dump
trigger"), the memory allocation time of the DFX is changed from device
initialization to dump occurs, so .debugfs_itct is not a valid address and
do not need to check.
The parameter hisi_sas_debugfs_enable is enough to check whether automatic
debugfs dump is triggered, so remove redunant checks.
Fixes: 63f0733d07ce ("scsi: hisi_sas: Allocate DFX memory during dump trigger")
Signed-off-by: Yihang Li <liyihang9@huawei.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Link: https://lore.kernel.org/r/1705904747-62186-3-git-send-email-chenxiang66@hisilicon.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions
