]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - lib/swiotlb.c
swiotlb: Remove the swiotlb variable usage
[mirror_ubuntu-artful-kernel.git] / lib / swiotlb.c
index e6755a0574fbc3014bf45a7c4bc3cb3c13e81411..795472d8ae24c7201a396c40be4e97f2e149f88e 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);