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

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

This patch remove unused log message using the RX_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 5b3b744a
...@@ -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,
RX_debug,
Lock_debug, Lock_debug,
Tcp_enhance, Tcp_enhance,
Spin_debug, Spin_debug,
...@@ -22,7 +21,6 @@ enum debug_region { ...@@ -22,7 +21,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 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)
#define SPIN_DEBUG (1 << Spin_debug) #define SPIN_DEBUG (1 << Spin_debug)
......
...@@ -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 | RX_DBG | LOCK_DBG | INIT_DBG | BUS_DBG | MEM_DBG) #define DBG_REGION_ALL (GENERIC_DBG | HOSTAPD_DBG | CFG80211_DBG | INT_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);
......
...@@ -835,11 +835,8 @@ static void wilc_wlan_handle_rxq(struct wilc *wilc) ...@@ -835,11 +835,8 @@ static void wilc_wlan_handle_rxq(struct wilc *wilc)
u32 pkt_len, pkt_offset, tp_len; u32 pkt_len, pkt_offset, tp_len;
int is_cfg_packet; int is_cfg_packet;
PRINT_D(RX_DBG, "In the 2nd do-while\n");
memcpy(&header, &buffer[offset], 4); memcpy(&header, &buffer[offset], 4);
header = cpu_to_le32(header); header = cpu_to_le32(header);
PRINT_D(RX_DBG, "Header = %04x - Offset = %d\n",
header, offset);
is_cfg_packet = (header >> 31) & 0x1; is_cfg_packet = (header >> 31) & 0x1;
pkt_offset = (header >> 22) & 0x1ff; pkt_offset = (header >> 22) & 0x1ff;
...@@ -890,7 +887,6 @@ static void wilc_wlan_handle_rxq(struct wilc *wilc) ...@@ -890,7 +887,6 @@ static void wilc_wlan_handle_rxq(struct wilc *wilc)
} while (1); } while (1);
wilc->rxq_exit = 1; wilc->rxq_exit = 1;
PRINT_D(RX_DBG, "THREAD: Exiting RX thread\n");
} }
static void wilc_unknown_isr_ext(struct wilc *wilc) static void wilc_unknown_isr_ext(struct wilc *wilc)
...@@ -958,7 +954,6 @@ static void wilc_wlan_handle_isr_ext(struct wilc *wilc, u32 int_status) ...@@ -958,7 +954,6 @@ static void wilc_wlan_handle_isr_ext(struct wilc *wilc, u32 int_status)
if (rqe) { if (rqe) {
rqe->buffer = buffer; rqe->buffer = buffer;
rqe->buffer_size = size; rqe->buffer_size = size;
PRINT_D(RX_DBG, "rxq entery Size= %d - Address = %p\n", rqe->buffer_size, rqe->buffer);
wilc_wlan_rxq_add(wilc, rqe); wilc_wlan_rxq_add(wilc, rqe);
} }
} }
......
...@@ -522,7 +522,6 @@ int wilc_wlan_cfg_indicate_rx(struct wilc *wilc, u8 *frame, int size, ...@@ -522,7 +522,6 @@ int wilc_wlan_cfg_indicate_rx(struct wilc *wilc, u8 *frame, int size,
rsp->type = wilc_wlan_parse_info_frame(frame, size); rsp->type = wilc_wlan_parse_info_frame(frame, size);
rsp->seq_no = msg_id; rsp->seq_no = msg_id;
/*call host interface info parse as well*/ /*call host interface info parse as well*/
PRINT_INFO(RX_DBG, "Info message received\n");
wilc_gnrl_async_info_received(wilc, frame - 4, size + 4); wilc_gnrl_async_info_received(wilc, frame - 4, size + 4);
break; break;
...@@ -532,14 +531,10 @@ int wilc_wlan_cfg_indicate_rx(struct wilc *wilc, u8 *frame, int size, ...@@ -532,14 +531,10 @@ int wilc_wlan_cfg_indicate_rx(struct wilc *wilc, u8 *frame, int size,
break; break;
case 'S': case 'S':
PRINT_INFO(RX_DBG, "Scan Notification Received\n");
wilc_scan_complete_received(wilc, frame - 4, size + 4); wilc_scan_complete_received(wilc, frame - 4, size + 4);
break; break;
default: default:
PRINT_INFO(RX_DBG, "Receive unknown message type[%d-%d-%d-%d-%d-%d-%d-%d]\n",
frame[0], frame[1], frame[2], frame[3], frame[4],
frame[5], frame[6], frame[7]);
rsp->type = 0; rsp->type = 0;
rsp->seq_no = msg_id; rsp->seq_no = msg_id;
ret = 0; ret = 0;
......
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