diff options
author | Glen Lee | 2015-10-01 09:03:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-10-02 11:59:52 +0200 |
commit | c9d4834d94c5126e79984769da8c36844ae6db5d (patch) | |
tree | b6e8c9ba5955a305b2f382c12540f53dd3561f96 /drivers/staging/wilc1000/coreconfigurator.c | |
parent | staging: wilc1000: remove function pointer wlan_cfg_get_value (diff) | |
download | kernel-qcow2-linux-c9d4834d94c5126e79984769da8c36844ae6db5d.tar.gz kernel-qcow2-linux-c9d4834d94c5126e79984769da8c36844ae6db5d.tar.xz kernel-qcow2-linux-c9d4834d94c5126e79984769da8c36844ae6db5d.zip |
staging: wilc1000: remove function pointer wlan_add_mgmt_to_tx_que
This patch removes function pointer wlan_add_mgmt_to_tx_que and just call
the function wilc_wlan_txq_add_mgmt_pkt.
Remove structure wilc_wlan_oup_t also because no members in it. Since
wilc_wlan_oup_t is deleted, it's variable, function parameters and related
codes are also deleted.
- deleted variables
gpstrWlanOps
oup
- modified functions
wilc1000_prepare_11b_core
wilc_wlan_init
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/coreconfigurator.c')
-rw-r--r-- | drivers/staging/wilc1000/coreconfigurator.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c index 246abb562d93..136d207c8600 100644 --- a/drivers/staging/wilc1000/coreconfigurator.c +++ b/drivers/staging/wilc1000/coreconfigurator.c @@ -608,12 +608,6 @@ s32 send_config_pkt(u8 u8Mode, tstrWID *pstrWIDs, { s32 counter = 0, ret = 0; - if (gpstrWlanOps == NULL) { - PRINT_D(CORECONFIG_DBG, "Net Dev is still not initialized\n"); - return 1; - } else { - PRINT_D(CORECONFIG_DBG, "Net Dev is initialized\n"); - } if (u8Mode == GET_CFG) { for (counter = 0; counter < u32WIDsCount; counter++) { PRINT_INFO(CORECONFIG_DBG, "Sending CFG packet [%d][%d]\n", !counter, |