]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - lib/scatterlist.c
lib/scatterlist.c: avoid a double memset
[mirror_ubuntu-hirsute-kernel.git] / lib / scatterlist.c
index 5d63a8857f361d0062426d71ee525a7e2e25b2b8..d94628fa334940d233603efceb32c7308815bdd3 100644 (file)
@@ -504,7 +504,7 @@ struct scatterlist *sgl_alloc_order(unsigned long long length,
                nalloc++;
        }
        sgl = kmalloc_array(nalloc, sizeof(struct scatterlist),
-                           (gfp & ~GFP_DMA) | __GFP_ZERO);
+                           gfp & ~GFP_DMA);
        if (!sgl)
                return NULL;