From f7f048575727dca81f994590de3fbb62bceef4d9 Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Sat, 12 Jul 2014 07:53:48 +0100 Subject: [PATCH] staging: vt6656: wcmd replace debug message with dev_dbg Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6656/wcmd.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/staging/vt6656/wcmd.c b/drivers/staging/vt6656/wcmd.c index 9130f146e112..ade0f8117af7 100644 --- a/drivers/staging/vt6656/wcmd.c +++ b/drivers/staging/vt6656/wcmd.c @@ -49,9 +49,6 @@ #include "rf.h" #include "channel.h" -static int msglevel = MSG_LEVEL_INFO; -//static int msglevel = MSG_LEVEL_DEBUG; - static int s_bCommandComplete(struct vnt_private *); static void vCommandTimerWait(struct vnt_private *priv, unsigned long msecs) @@ -108,8 +105,8 @@ void vRunCommand(struct work_struct *work) break; case WLAN_CMD_CHANGE_ANTENNA_START: - DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO - "Change from Antenna%d to", (int)priv->dwRxAntennaSel); + dev_dbg(&priv->usb->dev, "Change from Antenna%d to", + priv->dwRxAntennaSel); if (priv->dwRxAntennaSel == 0) { priv->dwRxAntennaSel = 1; -- 2.30.2