From 10251bc9d1cba619cbc62b977b51f4dedbd6d39b Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Fri, 24 Mar 2017 15:30:52 -0700 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_driver_ops.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/hdd/src/wlan_hdd_driver_ops.c b/core/hdd/src/wlan_hdd_driver_ops.c index be59d982bf7d..1b2e42464812 100644 --- a/core/hdd/src/wlan_hdd_driver_ops.c +++ b/core/hdd/src/wlan_hdd_driver_ops.c @@ -171,8 +171,6 @@ static void hdd_deinit_cds_hif_context(void) if (status) 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) { if (!QDF_IS_EPPING_ENABLED(cds_get_conparam())) { - int ret = 0; + int ret; + ret = hdd_wlan_notify_modem_power_state(state); if (ret < 0) hdd_err("Fail to send notify");