swiotlb: Remove the swiotlb variable usage
[safe/jmp/linux-2.6] / lib / swiotlb.c
index e6755a0..795472d 100644 (file)
@@ -109,10 +109,9 @@ setup_io_tlb_npages(char *str)
        }
        if (*str == ',')
                ++str;
-       if (!strcmp(str, "force")) {
+       if (!strcmp(str, "force"))
                swiotlb_force = 1;
-               swiotlb = 1;
-       }
+
        return 1;
 }
 __setup("swiotlb=", setup_io_tlb_npages);