s390/dasd: Remove unused message logging macros
authorJan Höppner <hoeppner@linux.ibm.com>
Thu, 8 Feb 2024 16:42:44 +0000 (17:42 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 8 Feb 2024 17:12:01 +0000 (10:12 -0700)
The macros DEV_MESSAGE, MESSAGE, DEV_MESSAGE_LOG, and MESSAGE_LOG, are
not used and there is no history anymore of any usage. Remove them.

Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Link: https://lore.kernel.org/r/20240208164248.540985-6-sth@linux.ibm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/s390/block/dasd_int.h

index 71d88e9310906693a5fffe1db0769ddabe1560a0..a6c5f1fa2d8798fcc74815010b0eb933d6b6dae9 100644 (file)
@@ -123,32 +123,6 @@ do { \
 #define        DBF_INFO        6       /* informational                        */
 #define        DBF_DEBUG       6       /* debug-level messages                 */
 
-/* messages to be written via klogd and dbf */
-#define DEV_MESSAGE(d_loglevel,d_device,d_string,d_args...)\
-do { \
-       printk(d_loglevel PRINTK_HEADER " %s: " d_string "\n", \
-              dev_name(&d_device->cdev->dev), d_args); \
-       DBF_DEV_EVENT(DBF_ALERT, d_device, d_string, d_args); \
-} while(0)
-
-#define MESSAGE(d_loglevel,d_string,d_args...)\
-do { \
-       printk(d_loglevel PRINTK_HEADER " " d_string "\n", d_args); \
-       DBF_EVENT(DBF_ALERT, d_string, d_args); \
-} while(0)
-
-/* messages to be written via klogd only */
-#define DEV_MESSAGE_LOG(d_loglevel,d_device,d_string,d_args...)\
-do { \
-       printk(d_loglevel PRINTK_HEADER " %s: " d_string "\n", \
-              dev_name(&d_device->cdev->dev), d_args); \
-} while(0)
-
-#define MESSAGE_LOG(d_loglevel,d_string,d_args...)\
-do { \
-       printk(d_loglevel PRINTK_HEADER " " d_string "\n", d_args); \
-} while(0)
-
 /* Macro to calculate number of blocks per page */
 #define BLOCKS_PER_PAGE(blksize) (PAGE_SIZE / blksize)