qcacld-3.0: Optimize PMO prints

Optimize PMO prints.

Change-Id: I0595e5b51edfe3ad0a0abb239cb53e67938d2efa
CRs-Fixed: 2621351
This commit is contained in:
Abhishek Singh
2020-02-13 16:13:36 +05:30
committed by nshrivas
parent 3c9f90ae6f
commit a7efaea28f
5 changed files with 4 additions and 26 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2018-2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -301,8 +301,6 @@ QDF_STATUS pmo_vdev_object_destroyed_notification(
struct pmo_vdev_priv_obj *vdev_ctx = NULL;
QDF_STATUS status = QDF_STATUS_SUCCESS;
pmo_enter();
vdev_ctx = pmo_vdev_get_priv(vdev);
status = wlan_objmgr_vdev_component_obj_detach(vdev,
@@ -314,8 +312,6 @@ QDF_STATUS pmo_vdev_object_destroyed_notification(
qdf_spinlock_destroy(&vdev_ctx->pmo_vdev_lock);
qdf_mem_free(vdev_ctx);
pmo_exit();
return status;
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
* Copyright (c) 2017-2018, 2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -33,7 +33,6 @@ QDF_STATUS pmo_tgt_send_enhance_multicast_offload_req(
struct wlan_objmgr_psoc *psoc;
struct wlan_pmo_tx_ops pmo_tx_ops;
pmo_enter();
psoc = pmo_vdev_get_psoc(vdev);
pmo_tx_ops = GET_PMO_TX_OPS_FROM_PSOC(psoc);
@@ -47,7 +46,6 @@ QDF_STATUS pmo_tgt_send_enhance_multicast_offload_req(
if (status != QDF_STATUS_SUCCESS)
pmo_err("Failed to config enhance multicast offload");
out:
pmo_exit();
return status;
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
* Copyright (c) 2017-2018, 2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -34,8 +34,6 @@ QDF_STATUS pmo_tgt_enable_wow_wakeup_event(
struct wlan_pmo_tx_ops pmo_tx_ops;
int vdev_id;
pmo_enter();
psoc = pmo_vdev_get_psoc(vdev);
vdev_id = pmo_vdev_get_id(vdev);
@@ -53,7 +51,6 @@ QDF_STATUS pmo_tgt_enable_wow_wakeup_event(
if (status != QDF_STATUS_SUCCESS)
pmo_err("Failed to enable wow wakeup event");
out:
pmo_exit();
return status;
}
@@ -102,7 +99,6 @@ QDF_STATUS pmo_tgt_send_wow_patterns_to_fw(
struct wlan_objmgr_psoc *psoc;
struct wlan_pmo_tx_ops pmo_tx_ops;
pmo_enter();
psoc = pmo_vdev_get_psoc(vdev);
vdev_ctx = pmo_vdev_get_priv(vdev);
@@ -127,7 +123,6 @@ QDF_STATUS pmo_tgt_send_wow_patterns_to_fw(
if (user)
pmo_increment_wow_user_ptrn(vdev_ctx);
out:
pmo_exit();
return status;
}
@@ -141,7 +136,6 @@ QDF_STATUS pmo_tgt_del_wow_pattern(
struct wlan_objmgr_psoc *psoc;
struct wlan_pmo_tx_ops pmo_tx_ops;
pmo_enter();
psoc = pmo_vdev_get_psoc(vdev);
vdev_ctx = pmo_vdev_get_priv(vdev);
@@ -160,7 +154,6 @@ QDF_STATUS pmo_tgt_del_wow_pattern(
if (user)
pmo_decrement_wow_user_ptrn(vdev_ctx);
out:
pmo_exit();
return status;
}