Skip to content

Commit d859ed2

Browse files
jbeulichjgross1
authored andcommitted
swiotlb-xen: drop DEFAULT_NSLABS
It was introduced by 4035b43 ("xen-swiotlb: remove xen_set_nslabs") and then not removed by 2d29960 ("swiotlb: dynamically allocate io_tlb_default_mem"). Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/15259326-209a-1d11-338c-5018dc38abe8@suse.com Signed-off-by: Juergen Gross <jgross@suse.com>
1 parent 7fd880a commit d859ed2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/xen/swiotlb-xen.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,6 @@ static const char *xen_swiotlb_error(enum xen_swiotlb_err err)
152152
return "";
153153
}
154154

155-
#define DEFAULT_NSLABS ALIGN(SZ_64M >> IO_TLB_SHIFT, IO_TLB_SEGSIZE)
156-
157155
int xen_swiotlb_init(void)
158156
{
159157
enum xen_swiotlb_err m_ret = XEN_SWIOTLB_UNKNOWN;

0 commit comments

Comments
 (0)