Convert the sole caller to ata_dev_dbg() and remove the definition.
Unified · Split
| @@ -2530,8 +2530,8 @@ int ata_dev_configure(struct ata_device *dev) · 2529 unmodified lines | ||
| 2530 | 2530 | char modelbuf[ATA_ID_PROD_LEN+1]; |
| 2531 | 2531 | int rc; |
| 2532 | 2532 | |
| 2533 | − if (!ata_dev_enabled(dev) && ata_msg_info(ap)) { | |
| 2534 | − ata_dev_info(dev, "%s: ENTER/EXIT -- nodev\n", __func__); | |
| 2533 | + if (!ata_dev_enabled(dev)) { | |
| 2534 | + ata_dev_dbg(dev, "no device\n"); | |
| 2535 | 2535 | return 0; |
| 2536 | 2536 | } |
| 2537 | 2537 | |
| @@ -5333,11 +5333,7 @@ struct ata_port *ata_port_alloc(struct ata_host *host) · 2795 unmodified lines | ||
| 5333 | 5333 | |
| 5334 | 5334 | #if defined(ATA_VERBOSE_DEBUG) |
| 5335 | 5335 | /* turn on all debugging levels */ |
| 5336 | − ap->msg_enable = 0x0003; | |
| 5337 | −#elif defined(ATA_DEBUG) | |
| 5338 | − ap->msg_enable = ATA_MSG_DRV | ATA_MSG_INFO; | |
| 5339 | −#else | |
| 5340 | − ap->msg_enable = ATA_MSG_DRV; | |
| 5336 | + ap->msg_enable = 0x0001; | |
| 5341 | 5337 | #endif |
| 5342 | 5338 | |
| 5343 | 5339 | mutex_init(&ap->scsi_scan_mutex); |
| @@ -73,11 +73,9 @@ · 72 unmodified lines | ||
| 73 | 73 | |
| 74 | 74 | enum { |
| 75 | 75 | ATA_MSG_DRV = 0x0001, |
| 76 | − ATA_MSG_INFO = 0x0002, | |
| 77 | 76 | }; |
| 78 | 77 | |
| 79 | 78 | #define ata_msg_drv(p) ((p)->msg_enable & ATA_MSG_DRV) |
| 80 | −#define ata_msg_info(p) ((p)->msg_enable & ATA_MSG_INFO) | |
| 81 | 79 | |
| 82 | 80 | static inline u32 ata_msg_init(int dval, int default_msg_enable_bits) |
| 83 | 81 | { |