summaryrefslogtreecommitdiffstats
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2021-12-21 08:21:06 +0100
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-01-05 19:33:02 +0900
commit96c810f216cb6da15bfa8fe8ef3bf73ca91c5dd8 (patch)
tree4efae1e0392addd5d8f15b924b5704fcd8c37c35 /include/linux/libata.h
parent17a1e1be2fc7dc99945b41df0485037dcb6044d0 (diff)
downloadlinux-stable-96c810f216cb6da15bfa8fe8ef3bf73ca91c5dd8.tar.gz
linux-stable-96c810f216cb6da15bfa8fe8ef3bf73ca91c5dd8.tar.bz2
linux-stable-96c810f216cb6da15bfa8fe8ef3bf73ca91c5dd8.zip
ata: libata: drop ata_msg_info()
Convert the sole caller to ata_dev_dbg() and remove the definition. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r--include/linux/libata.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 455d7e77e562..524d09b1dc82 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -73,11 +73,9 @@
enum {
ATA_MSG_DRV = 0x0001,
- ATA_MSG_INFO = 0x0002,
};
#define ata_msg_drv(p) ((p)->msg_enable & ATA_MSG_DRV)
-#define ata_msg_info(p) ((p)->msg_enable & ATA_MSG_INFO)
static inline u32 ata_msg_init(int dval, int default_msg_enable_bits)
{