aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd.c
diff options
context:
space:
mode:
authorBernhard Walle <bwalle@suse.de>2007-05-21 11:15:26 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-05-24 10:09:09 -0400
commita6123f142924a5e21f6d48e6e3c67d9060726caa (patch)
treeff0014421b07b7fbbbfdf3fd6f1dff41397b1d9e /drivers/scsi/sd.c
parent352e921f0dd42f79652cdb50dd91122d068d7209 (diff)
[SCSI] sd: remove __GFP_DMA
After 821de3a27bf33f11ec878562577c586cd5f83c64, it's not necessary to alloate a DMA buffer any more in sd.c. Signed-off-by: Bernhard Walle <bwalle@suse.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sd.c')
-rw-r--r--drivers/scsi/sd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index 00e46662296f..f071b9edaf36 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -1515,7 +1515,7 @@ static int sd_revalidate_disk(struct gendisk *disk)
1515 if (!scsi_device_online(sdp)) 1515 if (!scsi_device_online(sdp))
1516 goto out; 1516 goto out;
1517 1517
1518 buffer = kmalloc(SD_BUF_SIZE, GFP_KERNEL | __GFP_DMA); 1518 buffer = kmalloc(SD_BUF_SIZE, GFP_KERNEL);
1519 if (!buffer) { 1519 if (!buffer) {
1520 sd_printk(KERN_WARNING, sdkp, "sd_revalidate_disk: Memory " 1520 sd_printk(KERN_WARNING, sdkp, "sd_revalidate_disk: Memory "
1521 "allocation failure.\n"); 1521 "allocation failure.\n");