diff options
author | Christoph Hellwig <hch@lst.de> | 2017-04-25 14:26:52 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-04-28 18:09:59 -0400 |
commit | 63ccc191649eb0f14a761074291551d0d2f85389 (patch) | |
tree | c44687a821c61bcd3286ed6349bf2f084af4095b /include/linux/ata.h | |
parent | c6ade20f5e50e188d20b711a618b20dd1d50457e (diff) | |
download | linux-63ccc191649eb0f14a761074291551d0d2f85389.tar.gz linux-63ccc191649eb0f14a761074291551d0d2f85389.tar.bz2 linux-63ccc191649eb0f14a761074291551d0d2f85389.zip |
libata: remove SCT WRITE SAME support
This was already disabled a while ago because it caused I/O errors,
and it's severly getting into the way of the discard / write zeroes
rework.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/ata.h')
-rw-r--r-- | include/linux/ata.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/ata.h b/include/linux/ata.h index af6859b3a93d..ad7d9ee89ff0 100644 --- a/include/linux/ata.h +++ b/include/linux/ata.h @@ -817,11 +817,6 @@ static inline bool ata_id_sct_error_recovery_ctrl(const u16 *id) return id[ATA_ID_SCT_CMD_XPORT] & (1 << 3) ? true : false; } -static inline bool ata_id_sct_write_same(const u16 *id) -{ - return id[ATA_ID_SCT_CMD_XPORT] & (1 << 2) ? true : false; -} - static inline bool ata_id_sct_long_sector_access(const u16 *id) { return id[ATA_ID_SCT_CMD_XPORT] & (1 << 1) ? true : false; |