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

[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
...@@ -1515,7 +1515,7 @@ static int sd_revalidate_disk(struct gendisk *disk) ...@@ -1515,7 +1515,7 @@ static int sd_revalidate_disk(struct gendisk *disk)
if (!scsi_device_online(sdp)) if (!scsi_device_online(sdp))
goto out; goto out;
buffer = kmalloc(SD_BUF_SIZE, GFP_KERNEL | __GFP_DMA); buffer = kmalloc(SD_BUF_SIZE, GFP_KERNEL);
if (!buffer) { if (!buffer) {
sd_printk(KERN_WARNING, sdkp, "sd_revalidate_disk: Memory " sd_printk(KERN_WARNING, sdkp, "sd_revalidate_disk: Memory "
"allocation failure.\n"); "allocation failure.\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment