diff options
author | Christophe JAILLET <[email protected]> | 2022-01-09 19:24:08 +0100 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2022-01-27 08:58:24 -0800 |
commit | 9498d4affd61e9d97ec06cd67bc46da2485d8dba (patch) | |
tree | 37a6dd167736b8d3ebb33024243c394203c4f141 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | a34a42d87a08052f2084891a73a86356f60f7dd4 (diff) |
iavf: 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://lkml.org/lkml/2021/6/7/398
Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Alexander Lobakin <[email protected]>
Tested-by: Konrad Jankowski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions