mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 06:02:05 +00:00
s390/dasd: Remove unused message logging macros
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>
This commit is contained in:
parent
4849494f05
commit
32312cf229
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user