qcacld-3.0: Fix checkpatch issues in wlan_hdd_driver_ops
The kernel checkpatch script has detected some issues in wlan_hdd_driver_ops.h and wlan_hdd_driver_ops.c, so fix them. Change-Id: I1b08d9dd5147eeebeba2f545d7530bdff6867a5e CRs-Fixed: 2024274
This commit is contained in:

committed by
Sandeep Puligilla

parent
8004facf8f
commit
10251bc9d1
@@ -171,8 +171,6 @@ static void hdd_deinit_cds_hif_context(void)
|
|||||||
|
|
||||||
if (status)
|
if (status)
|
||||||
hdd_err("Failed to reset CDS HIF Context");
|
hdd_err("Failed to reset CDS HIF Context");
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -513,7 +511,8 @@ static void wlan_hdd_crash_shutdown(void)
|
|||||||
static void wlan_hdd_notify_handler(int state)
|
static void wlan_hdd_notify_handler(int state)
|
||||||
{
|
{
|
||||||
if (!QDF_IS_EPPING_ENABLED(cds_get_conparam())) {
|
if (!QDF_IS_EPPING_ENABLED(cds_get_conparam())) {
|
||||||
int ret = 0;
|
int ret;
|
||||||
|
|
||||||
ret = hdd_wlan_notify_modem_power_state(state);
|
ret = hdd_wlan_notify_modem_power_state(state);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
hdd_err("Fail to send notify");
|
hdd_err("Fail to send notify");
|
||||||
|
Reference in New Issue
Block a user