Commit a4104796 authored by Chris Park's avatar Chris Park Committed by Greg Kroah-Hartman

staging: wilc1000: remove unused log message using the TX_DBG tag

This patch remove unused log message using the TX_DBG tag
Signed-off-by: default avatarChris Park <chris.park@atmel.com>
Signed-off-by: default avatarLeo Kim <leo.kim@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c4f97526
...@@ -1047,10 +1047,6 @@ static void linux_wlan_tx_complete(void *priv, int status) ...@@ -1047,10 +1047,6 @@ static void linux_wlan_tx_complete(void *priv, int status)
{ {
struct tx_complete_data *pv_data = (struct tx_complete_data *)priv; struct tx_complete_data *pv_data = (struct tx_complete_data *)priv;
if (status == 1)
PRINT_D(TX_DBG, "Packet sent successfully - Size = %d - Address = %p - SKB = %p\n", pv_data->size, pv_data->buff, pv_data->skb);
else
PRINT_D(TX_DBG, "Couldn't send packet - Size = %d - Address = %p - SKB = %p\n", pv_data->size, pv_data->buff, pv_data->skb);
dev_kfree_skb(pv_data->skb); dev_kfree_skb(pv_data->skb);
kfree(pv_data); kfree(pv_data);
} }
......
...@@ -6,7 +6,6 @@ enum debug_region { ...@@ -6,7 +6,6 @@ enum debug_region {
Hostapd_debug, Hostapd_debug,
CFG80211_debug, CFG80211_debug,
Interrupt_debug, Interrupt_debug,
TX_debug,
RX_debug, RX_debug,
Lock_debug, Lock_debug,
Tcp_enhance, Tcp_enhance,
...@@ -23,7 +22,6 @@ enum debug_region { ...@@ -23,7 +22,6 @@ enum debug_region {
#define HOSTAPD_DBG (1 << Hostapd_debug) #define HOSTAPD_DBG (1 << Hostapd_debug)
#define CFG80211_DBG (1 << CFG80211_debug) #define CFG80211_DBG (1 << CFG80211_debug)
#define INT_DBG (1 << Interrupt_debug) #define INT_DBG (1 << Interrupt_debug)
#define TX_DBG (1 << TX_debug)
#define RX_DBG (1 << RX_debug) #define RX_DBG (1 << RX_debug)
#define LOCK_DBG (1 << Lock_debug) #define LOCK_DBG (1 << Lock_debug)
#define TCP_ENH (1 << Tcp_enhance) #define TCP_ENH (1 << Tcp_enhance)
......
...@@ -24,7 +24,7 @@ static struct dentry *wilc_dir; ...@@ -24,7 +24,7 @@ static struct dentry *wilc_dir;
* -------------------------------------------------------------------------------- * --------------------------------------------------------------------------------
*/ */
#define DBG_REGION_ALL (GENERIC_DBG | HOSTAPD_DBG | CFG80211_DBG | INT_DBG | TX_DBG | RX_DBG | LOCK_DBG | INIT_DBG | BUS_DBG | MEM_DBG) #define DBG_REGION_ALL (GENERIC_DBG | HOSTAPD_DBG | CFG80211_DBG | INT_DBG | RX_DBG | LOCK_DBG | INIT_DBG | BUS_DBG | MEM_DBG)
#define DBG_LEVEL_ALL (DEBUG | INFO | WRN | ERR) #define DBG_LEVEL_ALL (DEBUG | INFO | WRN | ERR)
atomic_t WILC_REGION = ATOMIC_INIT(INIT_DBG | GENERIC_DBG | CFG80211_DBG | FIRM_DBG | HOSTAPD_DBG); atomic_t WILC_REGION = ATOMIC_INIT(INIT_DBG | GENERIC_DBG | CFG80211_DBG | FIRM_DBG | HOSTAPD_DBG);
EXPORT_SYMBOL_GPL(WILC_REGION); EXPORT_SYMBOL_GPL(WILC_REGION);
......
...@@ -652,13 +652,11 @@ int wilc_wlan_handle_txq(struct net_device *dev, u32 *txq_count) ...@@ -652,13 +652,11 @@ int wilc_wlan_handle_txq(struct net_device *dev, u32 *txq_count)
} }
} while (1); } while (1);
if (i == 0) { if (i == 0)
PRINT_D(TX_DBG, "Nothing in TX-Q\n");
break; break;
} else { else
PRINT_D(TX_DBG, "Mark the last entry in VMM table - number of previous entries = %d\n", i);
vmm_table[i] = 0x0; vmm_table[i] = 0x0;
}
acquire_bus(wilc, ACQUIRE_AND_WAKEUP); acquire_bus(wilc, ACQUIRE_AND_WAKEUP);
counter = 0; counter = 0;
do { do {
...@@ -807,7 +805,6 @@ int wilc_wlan_handle_txq(struct net_device *dev, u32 *txq_count) ...@@ -807,7 +805,6 @@ int wilc_wlan_handle_txq(struct net_device *dev, u32 *txq_count)
up(&wilc->txq_add_to_head_cs); up(&wilc->txq_add_to_head_cs);
wilc->txq_exit = 1; wilc->txq_exit = 1;
PRINT_D(TX_DBG, "THREAD: Exiting txq\n");
*txq_count = wilc->txq_entries; *txq_count = wilc->txq_entries;
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment