From: Christoph Hellwig Date: Thu, 10 Dec 2009 09:36:01 +0000 (+0100) Subject: libata: use the WRITE_SAME_16 define X-Git-Tag: v4.13~20486^2~6 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=0cdd6eb7e08fc39e9c906cc46b6ee9095c3077a9;p=mirror_ubuntu-bionic-kernel.git libata: use the WRITE_SAME_16 define Now that the scsi tree has hit mainline we can use the newly added WRITE_SAME_16 define. Signed-off-by: Christoph Hellwig Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index 1683ebda900b..f4ea5a8c325b 100644 --- a/drivers/ata/libata-scsi.c +++ b/drivers/ata/libata-scsi.c @@ -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: