From: FUJITA Tomonori Date: Sun, 29 Jun 2008 23:11:22 +0000 (+0900) Subject: x86 gart: remove unnecessary set_bit_string X-Git-Tag: v2.6.27-rc1~1106^2~251^10 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=44974c8fc1d7047abe414562e0782320f4c1f511;p=linux-2.6-omap-h63xx.git 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: FUJITA Tomonori Cc: joerg.roedel@amd.com Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/pci-gart_64.c b/arch/x86/kernel/pci-gart_64.c index f20c20a7853..021f3c684a6 100644 --- a/arch/x86/kernel/pci-gart_64.c +++ b/arch/x86/kernel/pci-gart_64.c @@ -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;