]> Pileus Git - ~andy/linux/commitdiff
libata: use the WRITE_SAME_16 define
authorChristoph Hellwig <hch@lst.de>
Thu, 10 Dec 2009 09:36:01 +0000 (10:36 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 17 Dec 2009 06:02:09 +0000 (01:02 -0500)
Now that the scsi tree has hit mainline we can use the newly added WRITE_SAME_16
define.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-scsi.c

index 1683ebda900b788f0e0842d04da0f9576c8830ba..f4ea5a8c325bf5a618450b37ae229f603c30c8de 100644 (file)
@@ -3022,7 +3022,7 @@ static inline ata_xlat_func_t ata_get_xlat_func(struct ata_device *dev, u8 cmd)
        case WRITE_16:
                return ata_scsi_rw_xlat;
 
-       case 0x93 /*WRITE_SAME_16*/:
+       case WRITE_SAME_16:
                return ata_scsi_write_same_xlat;
 
        case SYNCHRONIZE_CACHE: