summaryrefslogtreecommitdiff
path: root/drivers/xen/xen-pciback
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-03-01 10:44:29 +0300
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2021-03-17 03:35:34 +0300
commit4035b43da6daa51668830becfe8537841414946b (patch)
tree12fd5f255610d8e8080fdd40eca326335994a6c1 /drivers/xen/xen-pciback
parent6223d1cef7b462de9aeede5846e6dcdbbd1c4d60 (diff)
downloadlinux-4035b43da6daa51668830becfe8537841414946b.tar.xz
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 <hch@lst.de> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen/xen-pciback')
0 files changed, 0 insertions, 0 deletions