Commit 825f91f
committed
refactor: vmm: remove redundant allocate_32bit_mmio_memory wrapper
This wrapper was used only once in the code and it generally does not
follow the patter of using underlying allocators directly like the rest
of the code does.
The alternative to removing this is to do a exact opposite and find all
places where allocators are used directly and make them use wrappers.
This will not provide any benefits since wrappers have no logic in them
and will only increase the line count and indirection overhead.
Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>1 parent 9b53e62 commit 825f91f
3 files changed
Lines changed: 14 additions & 42 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
164 | 169 | | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
| 170 | + | |
170 | 171 | | |
171 | 172 | | |
172 | 173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | 112 | | |
134 | 113 | | |
135 | 114 | | |
| |||
305 | 284 | | |
306 | 285 | | |
307 | 286 | | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | 287 | | |
313 | 288 | | |
314 | 289 | | |
| |||
319 | 294 | | |
320 | 295 | | |
321 | 296 | | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | 297 | | |
326 | 298 | | |
327 | 299 | | |
| |||
333 | 305 | | |
334 | 306 | | |
335 | 307 | | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | 308 | | |
341 | 309 | | |
342 | 310 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1084 | 1084 | | |
1085 | 1085 | | |
1086 | 1086 | | |
1087 | | - | |
| 1087 | + | |
| 1088 | + | |
1088 | 1089 | | |
1089 | | - | |
| 1090 | + | |
1090 | 1091 | | |
1091 | 1092 | | |
1092 | 1093 | | |
| |||
1100 | 1101 | | |
1101 | 1102 | | |
1102 | 1103 | | |
1103 | | - | |
| 1104 | + | |
| 1105 | + | |
1104 | 1106 | | |
1105 | 1107 | | |
1106 | | - | |
| 1108 | + | |
| 1109 | + | |
1107 | 1110 | | |
1108 | | - | |
| 1111 | + | |
1109 | 1112 | | |
1110 | 1113 | | |
0 commit comments