]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: unisys: remove LOGVER macro
authorBenjamin Romer <benjamin.romer@unisys.com>
Wed, 4 Mar 2015 17:14:24 +0000 (12:14 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Mar 2015 00:48:44 +0000 (16:48 -0800)
Remove the LOGVER macro from the drivers entirely.

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/include/uniklog.h
drivers/staging/unisys/virthba/virthba.c

index e3c374cfe26e798521296cbaa43975e512d23151..799c5710850afcf97fa7863bcc73d23631dba7ce 100644 (file)
 
 #include <linux/printk.h>
 
-/*
- * # LOGVER
- *
- * \brief Log verbose message - logs a message at the LOG_DEBUG level,
- *        which can be disabled at runtime
- *
- * \param devname the device name of the device reporting this message, or
- *                NULL if this message is NOT device-related.
- * \param fmt printf()-style format string containing the message to log.
- * \param args Optional arguments to be formatted and inserted into the format
- * \param string.
- * \return nothing
- *
- * Logs the specified message at the LOG_DEBUG level.  Note also that
- * LOG_DEBUG messages can be enabled/disabled at runtime as well.
- */
-#define LOGVER(fmt, args...) pr_debug(fmt, ## args)
-#define LOGVERDEV(devname, fmt, args...) \
-       pr_debug("%s " fmt, devname, ## args)
-#define LOGVERNAME(vnic, fmt, args...)                                 \
-       do {                                                            \
-               if (vnic != NULL) {                                     \
-                       pr_debug("%s " fmt, vnic->name, ## args);       \
-               } else {                                                \
-                       pr_debug(fmt, ## args);                         \
-               }                                                       \
-       } while (0)
-
 /*
  * # LOGERR
  *
index 5ec2423a41388a6b903eafc781b66ea9e2e3c510..5445863c2babebc1554b902df3871f6207a7dd97 100644 (file)
@@ -465,10 +465,6 @@ virthba_probe(struct virtpci_dev *virtpcidev, const struct pci_device_id *id)
        struct signal_queue_header __iomem *pqhdr;
        u64 mask;
 
-       LOGVER("entering virthba_probe...\n");
-       LOGVER("virtpcidev bus_no<<%d>>devNo<<%d>>", virtpcidev->bus_no,
-              virtpcidev->device_no);
-
        POSTCODE_LINUX_2(VHBA_PROBE_ENTRY_PC, POSTCODE_SEVERITY_INFO);
        /* call scsi_host_alloc to register a scsi host adapter
         * instance - this virthba that has just been created is an