diff options
author | Hannes Reinecke <hare@suse.de> | 2021-12-21 08:21:08 +0100 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-01-05 11:33:02 +0100 |
commit | db45905e74e6ae035305719bc683eca40f526669 (patch) | |
tree | 9a2d449abcdff9a43c561f17a7244948db1f2d80 /include | |
parent | ata: libata: drop ata_msg_drv() (diff) | |
download | linux-db45905e74e6ae035305719bc683eca40f526669.tar.xz linux-db45905e74e6ae035305719bc683eca40f526669.zip |
ata: libata: remove 'new' ata message handling
Remove the remaining bits for the 'new' ata message handling.
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 | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 65172609a005..145c0132b75e 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -68,18 +68,6 @@ } \ }) -/* NEW: debug levels */ -#define HAVE_LIBATA_MSG 1 - -static inline u32 ata_msg_init(int dval, int default_msg_enable_bits) -{ - if (dval < 0 || dval >= (sizeof(u32) * 8)) - return default_msg_enable_bits; /* should be 0x1 - only driver info msgs */ - if (!dval) - return 0; - return (1 << dval) - 1; -} - /* defines only for the constants which don't work well as enums */ #define ATA_TAG_POISON 0xfafbfcfdU @@ -864,7 +852,6 @@ struct ata_port { unsigned int hsm_task_state; - u32 msg_enable; struct list_head eh_done_q; wait_queue_head_t eh_wait_q; int eh_tries; |