Commit 80ca79f
iommu/vt-d: Remove scalabe mode in domain_context_clear_one()
domain_context_clear_one() only handles the context entry teardown in
legacy mode. Remove the scalable mode check in it to avoid dead code.
Remove an unnecessary check in the code as well.
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20240305013305.204605-6-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>1 parent a016e53 commit 80ca79f
1 file changed
Lines changed: 1 addition & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2124 | 2124 | | |
2125 | 2125 | | |
2126 | 2126 | | |
2127 | | - | |
2128 | | - | |
2129 | | - | |
2130 | 2127 | | |
2131 | 2128 | | |
2132 | 2129 | | |
2133 | 2130 | | |
2134 | 2131 | | |
2135 | 2132 | | |
2136 | 2133 | | |
2137 | | - | |
2138 | | - | |
2139 | | - | |
2140 | | - | |
2141 | | - | |
2142 | | - | |
2143 | | - | |
2144 | | - | |
| 2134 | + | |
2145 | 2135 | | |
2146 | 2136 | | |
2147 | 2137 | | |
| |||
2152 | 2142 | | |
2153 | 2143 | | |
2154 | 2144 | | |
2155 | | - | |
2156 | | - | |
2157 | | - | |
2158 | 2145 | | |
2159 | 2146 | | |
2160 | 2147 | | |
| |||
0 commit comments