diff options
| author | Dundi Raviteja <dundi@codeaurora.org> | 2018-10-11 13:07:28 +0530 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-10-22 09:04:05 -0700 |
| commit | 24bd4f882bcf7b23c45e9acc8dca127498d71b41 (patch) | |
| tree | bd72117db5ae5dd5f5371f6522f70b5b18e551d8 /core/utils | |
| parent | 2f8289b5ea69ab7730dae8f93050a2b8fb2d6a4f (diff) | |
qcacld-3.0: Remove redundant checks before invoking cds_trigger_recovery
In cds_trigger_recovery(), already there are various checks which
are repeated while invoking cds_trigger_recovery(), so remove
those redundant checks.
Change-Id: Id5eb32a0a0e55911e913e9bb57ecf6f0b46edbbf
CRs-Fixed: 2331408
Diffstat (limited to 'core/utils')
| -rw-r--r-- | core/utils/logging/src/wlan_logging_sock_svc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/utils/logging/src/wlan_logging_sock_svc.c b/core/utils/logging/src/wlan_logging_sock_svc.c index d93653764b74..4ba9000fe110 100644 --- a/core/utils/logging/src/wlan_logging_sock_svc.c +++ b/core/utils/logging/src/wlan_logging_sock_svc.c @@ -749,10 +749,7 @@ static void send_flush_completion_to_user(uint8_t ring_id) if (!recovery_needed) return; - if (cds_is_self_recovery_enabled()) - cds_trigger_recovery(CDS_REASON_UNSPECIFIED); - else - QDF_BUG(0); + cds_trigger_recovery(CDS_REASON_UNSPECIFIED); } /** |
