diff options
author | Christoph Hellwig <hch@lst.de> | 2016-07-16 16:16:41 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-07-19 03:55:37 +0300 |
commit | eb0effdf53b061bd57d8efc86032454e79487263 (patch) | |
tree | 6c5443303f32afaa759347050fbb48951d4d67a4 /include/linux/libata.h | |
parent | 35303d5c36415754680f953aa6128b8b907d0543 (diff) | |
download | linux-eb0effdf53b061bd57d8efc86032454e79487263.tar.xz |
libata: remove ata_is_nodata
The only caller can just check for !ata_is_data instead.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 1abd6690c776..283b6be6c319 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -1070,11 +1070,6 @@ static inline bool ata_is_atapi(u8 prot) return ata_prot_flags(prot) & ATA_PROT_FLAG_ATAPI; } -static inline bool ata_is_nodata(u8 prot) -{ - return !(ata_prot_flags(prot) & ATA_PROT_FLAG_DATA); -} - static inline bool ata_is_pio(u8 prot) { return ata_prot_flags(prot) & ATA_PROT_FLAG_PIO; |