diff options
author | 2021-11-26 22:18:25 +0100 | |
---|---|---|
committer | 2021-12-06 22:12:33 -0500 | |
commit | d43efddf6271a185d13895c5a38c889791e96bff (patch) | |
tree | c180e5c878b6c2059a6f7d7179f53124e71da935 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | scsi: hisi_sas: Use devm_bitmap_zalloc() when applicable (diff) | |
download | linux-dev-d43efddf6271a185d13895c5a38c889791e96bff.tar.xz linux-dev-d43efddf6271a185d13895c5a38c889791e96bff.zip |
scsi: hisi_sas: Remove some useless code in hisi_sas_alloc()
The 'hisi_hba->slot_index_tags' bitmap is allocated with bitmap_zalloc() so
it is already cleared. There is no need to clear it another time, one bit
at a time.
Remove the corresponding useless code.
Link: https://lore.kernel.org/r/41c86e7e3e05a13bd586d8ee1b81296140b7a6eb.1637961191.git.christophe.jaillet@wanadoo.fr
Acked-by: John Garry <john.garry@huawei.com>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions