[PATCH 42/46] libata: remove DPRINTK() macro

Hannes Reinecke
2020-02-04T16:56:21Z

From: Hannes Reinecke <hare@suse.com>

No users left, remove it.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
include/linux/libata.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/include/linux/libata.h b/include/linux/libata.h
index c7ffe6fb39f1..e2578d87d931 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -46,14 +46,12 @@

/* note: prints function name for you */
#ifdef ATA_DEBUG
-#define DPRINTK(fmt, args...) printk(KERN_ERR "%s: " fmt, __func__, ## args)
#ifdef ATA_VERBOSE_DEBUG
#define VPRINTK(fmt, args...) printk(KERN_ERR "%s: " fmt, __func__, ## args)
#else
#define VPRINTK(fmt, args...)
#endif /* ATA_VERBOSE_DEBUG */
#else
-#define DPRINTK(fmt, args...)
#define VPRINTK(fmt, args...)
#endif /* ATA_DEBUG */

--
2.16.4