staging: wilc1000: host_int_init: remove multiple blank lines
This patch removes multiple blank lines in host_int_init function. Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1604296d20
commit
9dfcff4a42
1 changed files with 0 additions and 8 deletions
|
@ -6370,8 +6370,6 @@ s32 host_int_init(tstrWILC_WFIDrv **phWFIDrv)
|
||||||
|
|
||||||
sema_init(&hWaitResponse, 0);
|
sema_init(&hWaitResponse, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*Allocate host interface private structure*/
|
/*Allocate host interface private structure*/
|
||||||
pstrWFIDrv = kzalloc(sizeof(tstrWILC_WFIDrv), GFP_KERNEL);
|
pstrWFIDrv = kzalloc(sizeof(tstrWILC_WFIDrv), GFP_KERNEL);
|
||||||
if (!pstrWFIDrv) {
|
if (!pstrWFIDrv) {
|
||||||
|
@ -6404,9 +6402,6 @@ s32 host_int_init(tstrWILC_WFIDrv **phWFIDrv)
|
||||||
sema_init(&(pstrWFIDrv->hSemGetCHNL), 0);
|
sema_init(&(pstrWFIDrv->hSemGetCHNL), 0);
|
||||||
sema_init(&(pstrWFIDrv->hSemInactiveTime), 0);
|
sema_init(&(pstrWFIDrv->hSemInactiveTime), 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
PRINT_D(HOSTINF_DBG, "INIT: CLIENT COUNT %d\n", clients_count);
|
PRINT_D(HOSTINF_DBG, "INIT: CLIENT COUNT %d\n", clients_count);
|
||||||
|
|
||||||
if (clients_count == 0) {
|
if (clients_count == 0) {
|
||||||
|
@ -6427,7 +6422,6 @@ s32 host_int_init(tstrWILC_WFIDrv **phWFIDrv)
|
||||||
mod_timer(&g_hPeriodicRSSI, jiffies + msecs_to_jiffies(5000));
|
mod_timer(&g_hPeriodicRSSI, jiffies + msecs_to_jiffies(5000));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
setup_timer(&pstrWFIDrv->hScanTimer, TimerCB_Scan, 0);
|
setup_timer(&pstrWFIDrv->hScanTimer, TimerCB_Scan, 0);
|
||||||
|
|
||||||
setup_timer(&pstrWFIDrv->hConnectTimer, TimerCB_Connect, 0);
|
setup_timer(&pstrWFIDrv->hConnectTimer, TimerCB_Connect, 0);
|
||||||
|
@ -6457,7 +6451,6 @@ s32 host_int_init(tstrWILC_WFIDrv **phWFIDrv)
|
||||||
pstrWFIDrv->strCfgValues.active_scan_time, pstrWFIDrv->strCfgValues.passive_scan_time,
|
pstrWFIDrv->strCfgValues.active_scan_time, pstrWFIDrv->strCfgValues.passive_scan_time,
|
||||||
pstrWFIDrv->strCfgValues.curr_tx_rate);
|
pstrWFIDrv->strCfgValues.curr_tx_rate);
|
||||||
|
|
||||||
|
|
||||||
up(&(pstrWFIDrv->gtOsCfgValuesSem));
|
up(&(pstrWFIDrv->gtOsCfgValuesSem));
|
||||||
|
|
||||||
clients_count++; /* increase number of created entities */
|
clients_count++; /* increase number of created entities */
|
||||||
|
@ -6474,7 +6467,6 @@ _fail_mq_:
|
||||||
_fail_:
|
_fail_:
|
||||||
return s32Error;
|
return s32Error;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @brief host_int_deinit
|
* @brief host_int_deinit
|
||||||
|
|
Loading…
Add table
Reference in a new issue