staging: wilc1000: remove void function return statements that are not useful

Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Raphaël Beamonte 2015-08-17 15:28:26 -04:00 committed by Greg Kroah-Hartman
parent a78d9a38a5
commit dec180c864
5 changed files with 1 additions and 13 deletions

View file

@ -6782,9 +6782,6 @@ void NetworkInfoReceived(u8 *pu8Buffer, u32 u32Length)
s32Error = WILC_MsgQueueSend(&gMsgQHostIF, &strHostIFmsg, sizeof(tstrHostIFmsg)); s32Error = WILC_MsgQueueSend(&gMsgQHostIF, &strHostIFmsg, sizeof(tstrHostIFmsg));
if (s32Error) if (s32Error)
PRINT_ER("Error in sending network info message queue message parameters: Error(%d)\n", s32Error); PRINT_ER("Error in sending network info message queue message parameters: Error(%d)\n", s32Error);
return;
} }
/** /**
@ -6848,7 +6845,6 @@ void GnrlAsyncInfoReceived(u8 *pu8Buffer, u32 u32Length)
/*BugID_5348*/ /*BugID_5348*/
up(&hSemHostIntDeinit); up(&hSemHostIntDeinit);
return;
} }
/** /**

View file

@ -1385,7 +1385,6 @@ void wilc1000_wlan_deinit(linux_wlan_t *nic)
} else { } else {
PRINT_D(INIT_DBG, "wilc1000 is not initialized\n"); PRINT_D(INIT_DBG, "wilc1000 is not initialized\n");
} }
return;
} }
int wlan_init_locks(linux_wlan_t *p_nic) int wlan_init_locks(linux_wlan_t *p_nic)

View file

@ -65,12 +65,10 @@ static void __exit wilc_module_deinit(void)
FREE_WILC_BUFFER(g_tx_buf) FREE_WILC_BUFFER(g_tx_buf)
FREE_WILC_BUFFER(g_rx_buf) FREE_WILC_BUFFER(g_rx_buf)
FREE_WILC_BUFFER(g_fw_buf) FREE_WILC_BUFFER(g_fw_buf)
return;
} }
MODULE_LICENSE("Dual BSD/GPL"); MODULE_LICENSE("Dual BSD/GPL");
MODULE_AUTHOR("Tony Cho"); MODULE_AUTHOR("Tony Cho");
MODULE_DESCRIPTION("WILC1xxx Memory Manager"); MODULE_DESCRIPTION("WILC1xxx Memory Manager");
pure_initcall(wilc_module_init); pure_initcall(wilc_module_init);
module_exit(wilc_module_deinit); module_exit(wilc_module_deinit);

View file

@ -124,8 +124,6 @@ static void wilc_debug(uint32_t flag, char *fmt, ...)
if (g_wlan.os_func.os_debug) if (g_wlan.os_func.os_debug)
g_wlan.os_func.os_debug(buf); g_wlan.os_func.os_debug(buf);
} }
return;
} }
static CHIP_PS_STATE_T genuChipPSstate = CHIP_WAKEDUP; static CHIP_PS_STATE_T genuChipPSstate = CHIP_WAKEDUP;
@ -1325,7 +1323,6 @@ static void wilc_wlan_handle_rxq(void)
p->rxq_exit = 1; p->rxq_exit = 1;
PRINT_D(RX_DBG, "THREAD: Exiting RX thread\n"); PRINT_D(RX_DBG, "THREAD: Exiting RX thread\n");
return;
} }
/******************************************** /********************************************

View file

@ -363,8 +363,6 @@ static void wilc_wlan_parse_response_frame(uint8_t *info, int size)
size -= (2 + len); size -= (2 + len);
info += (2 + len); info += (2 + len);
} }
return;
} }
static int wilc_wlan_parse_info_frame(uint8_t *info, int size) static int wilc_wlan_parse_info_frame(uint8_t *info, int size)