Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44974c8f authored by FUJITA Tomonori's avatar FUJITA Tomonori Committed by Ingo Molnar
Browse files

x86 gart: remove unnecessary set_bit_string



iommu_area_alloc internally calls set_bit_string and set bits
properly. This set_bit_string is unnecessary.

Signed-off-by: default avatarFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: joerg.roedel@amd.com
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent fa3d319a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -104,7 +104,6 @@ static unsigned long alloc_iommu(struct device *dev, int size)
					  size, base_index, boundary_size, 0);
	}
	if (offset != -1) {
		set_bit_string(iommu_gart_bitmap, offset, size);
		next_bit = offset+size;
		if (next_bit >= iommu_pages) {
			next_bit = 0;