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

Commit a6123f14 authored by Bernhard Walle's avatar Bernhard Walle Committed by James Bottomley
Browse files

[SCSI] sd: remove __GFP_DMA



After 821de3a2, it's not necessary to
alloate a DMA buffer any more in sd.c.

Signed-off-by: default avatarBernhard Walle <bwalle@suse.de>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 352e921f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1515,7 +1515,7 @@ static int sd_revalidate_disk(struct gendisk *disk)
	if (!scsi_device_online(sdp))
		goto out;

	buffer = kmalloc(SD_BUF_SIZE, GFP_KERNEL | __GFP_DMA);
	buffer = kmalloc(SD_BUF_SIZE, GFP_KERNEL);
	if (!buffer) {
		sd_printk(KERN_WARNING, sdkp, "sd_revalidate_disk: Memory "
			  "allocation failure.\n");