diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-11-27 00:18:25 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-12-07 06:12:33 +0300 |
| commit | d43efddf6271a185d13895c5a38c889791e96bff (patch) | |
| tree | c180e5c878b6c2059a6f7d7179f53124e71da935 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 54585ec62fbdbb45d9005bba3f988a11621ef42c (diff) | |
| download | linux-d43efddf6271a185d13895c5a38c889791e96bff.tar.xz | |
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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
