Commit db45905e authored by Hannes Reinecke's avatar Hannes Reinecke Committed by Damien Le Moal

ata: libata: remove 'new' ata message handling

Remove the remaining bits for the 'new' ata message handling.
Signed-off-by: default avatarHannes Reinecke <hare@suse.de>
Signed-off-by: default avatarDamien Le Moal <damien.lemoal@opensource.wdc.com>
parent 1c95a27c
...@@ -68,18 +68,6 @@ ...@@ -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 */ /* defines only for the constants which don't work well as enums */
#define ATA_TAG_POISON 0xfafbfcfdU #define ATA_TAG_POISON 0xfafbfcfdU
...@@ -864,7 +852,6 @@ struct ata_port { ...@@ -864,7 +852,6 @@ struct ata_port {
unsigned int hsm_task_state; unsigned int hsm_task_state;
u32 msg_enable;
struct list_head eh_done_q; struct list_head eh_done_q;
wait_queue_head_t eh_wait_q; wait_queue_head_t eh_wait_q;
int eh_tries; int eh_tries;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment