diff options
author | Jens Axboe <axboe@kernel.dk> | 2018-05-11 12:51:06 -0600 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2018-05-11 13:10:43 -0700 |
commit | 2e2cc676cee8962cdc82a23723df2fb394d35c64 (patch) | |
tree | b2e65fc638505a6c0def547447639fddd4fb7ddf /include/linux/libata.h | |
parent | e3ed8939644166a7560a33c46f508584a7f1756a (diff) |
libata: use ata_tag_internal() consistently
Some check for the value directly, use the provided helper instead.
Also make it return a bool, since that's what it does.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 2881919b3728..60ce1ba26fdd 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -1491,7 +1491,7 @@ static inline unsigned int ata_tag_valid(unsigned int tag) return (tag < ATA_MAX_QUEUE) ? 1 : 0; } -static inline unsigned int ata_tag_internal(unsigned int tag) +static inline bool ata_tag_internal(unsigned int tag) { return tag == ATA_TAG_INTERNAL; } |