staging: rtl8192e: Remove RTLLIB_DEBUG_INFO()

Use pr_debug() instead.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Mateusz Kulikowski 2015-05-31 20:19:34 +02:00 committed by Greg Kroah-Hartman
parent e9fea2ecb0
commit def16d2ee9
2 changed files with 1 additions and 2 deletions

View File

@ -701,7 +701,6 @@ do { \
#define RTLLIB_DL_TRACE (1<<29) #define RTLLIB_DL_TRACE (1<<29)
#define RTLLIB_DL_DATA (1<<30) #define RTLLIB_DL_DATA (1<<30)
#define RTLLIB_DL_ERR (1<<31) #define RTLLIB_DL_ERR (1<<31)
#define RTLLIB_DEBUG_INFO(f, a...) RTLLIB_DEBUG(RTLLIB_DL_INFO, f, ## a)
#ifndef ETH_P_PAE #ifndef ETH_P_PAE
#define ETH_P_PAE 0x888E /* Port Access Entity (IEEE 802.1X) */ #define ETH_P_PAE 0x888E /* Port Access Entity (IEEE 802.1X) */

View File

@ -103,7 +103,7 @@ struct net_device *alloc_rtllib(int sizeof_priv)
struct net_device *dev; struct net_device *dev;
int i, err; int i, err;
RTLLIB_DEBUG_INFO("Initializing...\n"); pr_debug("rtllib: Initializing...\n");
dev = alloc_etherdev(sizeof(struct rtllib_device) + sizeof_priv); dev = alloc_etherdev(sizeof(struct rtllib_device) + sizeof_priv);
if (!dev) { if (!dev) {