libata: remove ATA_PROT_FLAG_DATA
authorChristoph Hellwig <hch@lst.de>
Sat, 16 Jul 2016 13:16:42 +0000 (22:16 +0900)
committerTejun Heo <tj@kernel.org>
Tue, 19 Jul 2016 00:55:38 +0000 (20:55 -0400)
commitd6e50e379eb1e7f2426eac61a1bbbf6e4cf68905
tree919ad50b790e2690ca8a278c4516c1bb969ab8ea
parenteb0effdf53b061bd57d8efc86032454e79487263
libata: remove ATA_PROT_FLAG_DATA

Instead we can simply check for PIO or DMA in ata_is_data.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/libata.h