]> git.karo-electronics.de Git - linux-beck.git/commitdiff
iwlwifi: remove IWL_DL_LED
authorEliad Peller <eliad@wizery.com>
Wed, 18 Nov 2015 14:10:57 +0000 (16:10 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 1 Dec 2015 19:17:58 +0000 (21:17 +0200)
no need to have a separate debug level for a single
debug print (which is pretty much useless anyway).
remove them both.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/dvm/led.c
drivers/net/wireless/intel/iwlwifi/iwl-debug.h

index 178806ff9c2803b597fdf99004c326f88cb82890..1aabb5ec096f5061082508bf4fe6acc0e0d96099 100644 (file)
@@ -134,8 +134,6 @@ static int iwl_led_cmd(struct iwl_priv *priv,
                on = IWL_LED_SOLID;
        }
 
-       IWL_DEBUG_LED(priv, "Led blink time compensation=%u\n",
-                       priv->cfg->base_params->led_compensation);
        led_cmd.on = iwl_blink_compensation(priv, on,
                                priv->cfg->base_params->led_compensation);
        led_cmd.off = iwl_blink_compensation(priv, off,
index 9bb36d79c2bd3b6f32e7370db651533eb3bdad5c..e8dbb24d993d73c098a06b6ac759f8d14bfff030 100644 (file)
@@ -163,7 +163,6 @@ do {                                                                \
 #define IWL_DL_FW              0x00010000
 #define IWL_DL_RF_KILL         0x00020000
 #define IWL_DL_FW_ERRORS       0x00040000
-#define IWL_DL_LED             0x00080000
 /* 0x00F00000 - 0x00100000 */
 #define IWL_DL_RATE            0x00100000
 #define IWL_DL_CALIB           0x00200000
@@ -189,7 +188,6 @@ do {                                                                \
 #define IWL_DEBUG_RX(p, f, a...)       IWL_DEBUG(p, IWL_DL_RX, f, ## a)
 #define IWL_DEBUG_TX(p, f, a...)       IWL_DEBUG(p, IWL_DL_TX, f, ## a)
 #define IWL_DEBUG_ISR(p, f, a...)      IWL_DEBUG(p, IWL_DL_ISR, f, ## a)
-#define IWL_DEBUG_LED(p, f, a...)      IWL_DEBUG(p, IWL_DL_LED, f, ## a)
 #define IWL_DEBUG_WEP(p, f, a...)      IWL_DEBUG(p, IWL_DL_WEP, f, ## a)
 #define IWL_DEBUG_HC(p, f, a...)       IWL_DEBUG(p, IWL_DL_HCMD, f, ## a)
 #define IWL_DEBUG_QUOTA(p, f, a...)    IWL_DEBUG(p, IWL_DL_QUOTA, f, ## a)