diff options
author | Christoph Hellwig <[email protected]> | 2019-04-10 18:50:14 +0200 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2019-04-11 17:37:21 +0200 |
commit | 7a5dbf3ab2f04905cf8468c66fcdbfb643068bcb (patch) | |
tree | 1bedb06bb178ee7ae09a0189416ff1122c5fdcea /lib/mpi | |
parent | 83d18bdff18f680ce2c0af10a663da19f7dede93 (diff) |
iommu/amd: Remove the leftover of bypass support
The AMD iommu dma_ops are only attached on a per-device basis when an
actual translation is needed. Remove the leftover bypass support which
in parts was already broken (e.g. it always returns 0 from ->map_sg).
Use the opportunity to remove a few local variables and move assignments
into the declaration line where they were previously separated by the
bypass check.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions