diff options
author | Christoph Hellwig <[email protected]> | 2021-03-01 08:44:29 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <[email protected]> | 2021-03-17 00:35:34 +0000 |
commit | 4035b43da6daa51668830becfe8537841414946b (patch) | |
tree | 12fd5f255610d8e8080fdd40eca326335994a6c1 /lib/mpi/mpi-sub-ui.c | |
parent | 6223d1cef7b462de9aeede5846e6dcdbbd1c4d60 (diff) |
xen-swiotlb: remove xen_set_nslabs
The xen_set_nslabs function is a little weird, as it has just one
caller, that caller passes a global variable as the argument,
which is then overriden in the function and a derivative of it
returned. Just add a cpp symbol for the default size using a readable
constant and open code the remaining three lines in the caller.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions