diff options
| author | Christophe JAILLET <[email protected]> | 2022-01-15 08:45:05 +0100 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2022-01-28 10:49:03 -0400 |
| commit | 667da76b1c8c506d067d96dccc9574ba26a8b910 (patch) | |
| tree | e2cf372da7f269248ce562050325fdc4c081e949 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | e783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff) | |
IB/mthca: Remove useless DMA-32 fallback configuration
As stated in [1], dma_set_mask() with a 64-bit mask never fails if
dev->dma_mask is non-NULL.
So, if it fails, the 32 bits case will also fail for the same reason.
Simplify code and remove some dead code accordingly.
[1]: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/03c66fe5c2a81dbb29349ebf9af631e5ea216ec4.1642232675.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions