staging: rtl8192e: Remove RTLLIB_DEBUG_INFO()
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 31 May 2015 18:19:34 +0000 (20:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 21:32:01 +0000 (06:32 +0900)
Use pr_debug() instead.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib.h
drivers/staging/rtl8192e/rtllib_module.c

index 82f4fd96e650e253519acaa51095754c9b06a110..655f5faf13ba5609c39fbfa7fa45beb807a42838 100644 (file)
@@ -701,7 +701,6 @@ do {                                                                \
 #define RTLLIB_DL_TRACE           (1<<29)
 #define RTLLIB_DL_DATA    (1<<30)
 #define RTLLIB_DL_ERR     (1<<31)
-#define RTLLIB_DEBUG_INFO(f, a...)   RTLLIB_DEBUG(RTLLIB_DL_INFO, f, ## a)
 
 #ifndef ETH_P_PAE
 #define ETH_P_PAE 0x888E /* Port Access Entity (IEEE 802.1X) */
index b8c7df501db7ab3bb99e957967ac27597c97f55b..b61035b618cf5aca8a50dc3f70d58841b0956858 100644 (file)
@@ -103,7 +103,7 @@ struct net_device *alloc_rtllib(int sizeof_priv)
        struct net_device *dev;
        int i, err;
 
-       RTLLIB_DEBUG_INFO("Initializing...\n");
+       pr_debug("rtllib: Initializing...\n");
 
        dev = alloc_etherdev(sizeof(struct rtllib_device) + sizeof_priv);
        if (!dev) {