]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: wilc1000: remove void function return statements that are not useful
authorRaphaël Beamonte <raphael.beamonte@gmail.com>
Mon, 17 Aug 2015 19:28:26 +0000 (15:28 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Aug 2015 19:58:47 +0000 (12:58 -0700)
Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/linux_wlan.c
drivers/staging/wilc1000/wilc_exported_buf.c
drivers/staging/wilc1000/wilc_wlan.c
drivers/staging/wilc1000/wilc_wlan_cfg.c

index ec7059282adfb9776cacd4a3a64d8ae27905350a..078b7d5a128cbfb2050cbd17b974a050065e0c7e 100644 (file)
@@ -6782,9 +6782,6 @@ void NetworkInfoReceived(u8 *pu8Buffer, u32 u32Length)
        s32Error = WILC_MsgQueueSend(&gMsgQHostIF, &strHostIFmsg, sizeof(tstrHostIFmsg));
        if (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*/
        up(&hSemHostIntDeinit);
-       return;
 }
 
 /**
index ed71a9d017b846e351f36fbe5b28c54c3766ff21..b3cc9f5c7937c2834999dc172749c34ecc404ed1 100644 (file)
@@ -1385,7 +1385,6 @@ void wilc1000_wlan_deinit(linux_wlan_t *nic)
        } else {
                PRINT_D(INIT_DBG, "wilc1000 is not initialized\n");
        }
-       return;
 }
 
 int wlan_init_locks(linux_wlan_t *p_nic)
index 529457816f655ce17cb41448c6055075b4b92bf3..deba6bd37ab02eecf346c56a294edbcd24c580d9 100644 (file)
@@ -65,12 +65,10 @@ static void __exit wilc_module_deinit(void)
        FREE_WILC_BUFFER(g_tx_buf)
        FREE_WILC_BUFFER(g_rx_buf)
        FREE_WILC_BUFFER(g_fw_buf)
-
-       return;
 }
 
 MODULE_LICENSE("Dual BSD/GPL");
 MODULE_AUTHOR("Tony Cho");
 MODULE_DESCRIPTION("WILC1xxx Memory Manager");
 pure_initcall(wilc_module_init);
-module_exit(wilc_module_deinit);
\ No newline at end of file
+module_exit(wilc_module_deinit);
index fac16db5ff6a296ec00644434a4b01d5238d4ef3..7c53a2bd03812dd0d8026351216234d23f76de47 100644 (file)
@@ -124,8 +124,6 @@ static void wilc_debug(uint32_t flag, char *fmt, ...)
                if (g_wlan.os_func.os_debug)
                        g_wlan.os_func.os_debug(buf);
        }
-
-       return;
 }
 
 static CHIP_PS_STATE_T genuChipPSstate = CHIP_WAKEDUP;
@@ -1325,7 +1323,6 @@ static void wilc_wlan_handle_rxq(void)
 
        p->rxq_exit = 1;
        PRINT_D(RX_DBG, "THREAD: Exiting RX thread\n");
-       return;
 }
 
 /********************************************
index c10dffe4633ea1a15bae95993e7ce8662af103d2..e2842d37b07826000ec1bbb773157ecd346af71d 100644 (file)
@@ -363,8 +363,6 @@ static void wilc_wlan_parse_response_frame(uint8_t *info, int size)
                size -= (2 + len);
                info += (2 + len);
        }
-
-       return;
 }
 
 static int wilc_wlan_parse_info_frame(uint8_t *info, int size)