qcacld-3.0: Optimize logs in serialization

Remove redundant logs in serialization.

Change-Id: Icaebd5ce800ec035f082210785e95372cf2e7e72
CRs-Fixed: 2612824
This commit is contained in:
gaurank kathpalia 2020-02-03 11:34:06 +05:30 • committed by nshrivas
commit 16f2a47c11
3 changed files with 3 additions and 14 deletions

View file

@ -522,7 +522,6 @@ tdls_add_peer_serialize_callback(struct wlan_serialization_command *cmd,
}
req = cmd->umac_cmd;
tdls_debug("reason: %d, req %pK", reason, req);
switch (reason) {
case WLAN_SER_CB_ACTIVATE_CMD:
@ -983,7 +982,6 @@ tdls_update_peer_serialize_callback(struct wlan_serialization_command *cmd,
}
req = cmd->umac_cmd;
tdls_debug("reason: %d, req %pK", reason, req);
switch (reason) {
case WLAN_SER_CB_ACTIVATE_CMD:
@ -1107,7 +1105,6 @@ tdls_del_peer_serialize_callback(struct wlan_serialization_command *cmd,
}
req = cmd->umac_cmd;
tdls_debug("reason: %d, req %pK", reason, req);
switch (reason) {
case WLAN_SER_CB_ACTIVATE_CMD:

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2017-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
@ -348,9 +348,6 @@ tdls_send_mgmt_serialize_callback(struct wlan_serialization_command *cmd,
}
req = cmd->umac_cmd;
tdls_debug("reason: %d, vdev_id: %d",
reason, req->vdev_id);
switch (reason) {
case WLAN_SER_CB_ACTIVATE_CMD:
/* command moved to active list */

View file

@ -19774,7 +19774,6 @@ QDF_STATUS csr_queue_sme_command(struct mac_context *mac_ctx, tSmeCmd *sme_cmd,
vdev = cmd.vdev;
ser_cmd_status = wlan_serialization_request(&cmd);
sme_debug("wlan_serialization_request status:%d", ser_cmd_status);
switch (ser_cmd_status) {
case WLAN_SER_CMD_PENDING:
@ -19782,13 +19781,9 @@ QDF_STATUS csr_queue_sme_command(struct mac_context *mac_ctx, tSmeCmd *sme_cmd,
/* Command posted to active/pending list */
status = QDF_STATUS_SUCCESS;
break;
case WLAN_SER_CMD_DENIED_LIST_FULL:
case WLAN_SER_CMD_DENIED_RULES_FAILED:
case WLAN_SER_CMD_DENIED_UNSPECIFIED:
status = QDF_STATUS_E_FAILURE;
goto error;
default:
QDF_ASSERT(0);
sme_err("Failed to queue command %d with status:%d",
sme_cmd->command, ser_cmd_status);
status = QDF_STATUS_E_FAILURE;
goto error;
}