diff options
author | Hannes Reinecke <hare@suse.de> | 2021-12-21 08:21:01 +0100 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-01-05 11:33:02 +0100 |
commit | d97c75edd806669c9f4b56c0ddae37725c0b708c (patch) | |
tree | 2a71e650c7dd984a81d1df1bd2cb743d9a9117d4 /include | |
parent | ata: sata_sx4: add module parameter 'dimm_test' (diff) | |
download | linux-d97c75edd806669c9f4b56c0ddae37725c0b708c.tar.xz linux-d97c75edd806669c9f4b56c0ddae37725c0b708c.zip |
ata: libata: drop ata_msg_error() and ata_msg_intr()
Unused.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/libata.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 39cdde0b9491..4f0a85f4e69a 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -78,8 +78,6 @@ enum { ATA_MSG_WARN = 0x0008, ATA_MSG_MALLOC = 0x0010, ATA_MSG_CTL = 0x0020, - ATA_MSG_INTR = 0x0040, - ATA_MSG_ERR = 0x0080, }; #define ata_msg_drv(p) ((p)->msg_enable & ATA_MSG_DRV) @@ -88,8 +86,6 @@ enum { #define ata_msg_warn(p) ((p)->msg_enable & ATA_MSG_WARN) #define ata_msg_malloc(p) ((p)->msg_enable & ATA_MSG_MALLOC) #define ata_msg_ctl(p) ((p)->msg_enable & ATA_MSG_CTL) -#define ata_msg_intr(p) ((p)->msg_enable & ATA_MSG_INTR) -#define ata_msg_err(p) ((p)->msg_enable & ATA_MSG_ERR) static inline u32 ata_msg_init(int dval, int default_msg_enable_bits) { |