aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-04-10 12:50:14 -0400
committerJoerg Roedel <jroedel@suse.de>2019-04-11 11:37:21 -0400
commit7a5dbf3ab2f04905cf8468c66fcdbfb643068bcb (patch)
tree1bedb06bb178ee7ae09a0189416ff1122c5fdcea /lib/mpi/mpiutil.c
parent83d18bdff18f680ce2c0af10a663da19f7dede93 (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 <hch@lst.de> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions