mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-07 19:23:01 -05:00
qcacld-3.0: Fix kernel checkpatch warnings in sme_trace.c
Fix kernel checkpatch warnings in sme_trace.c Change-Id: Ib8828dbb510e42f56f6a15542b0adb5e2de17811 CRs-Fixed: 2025503
This commit is contained in:
parent
e1777f8d84
commit
b03b252f41
1 changed files with 9 additions and 12 deletions
|
|
@ -25,14 +25,12 @@
|
|||
* to the Linux Foundation.
|
||||
*/
|
||||
|
||||
/************************************************************************
|
||||
smeTrace.c
|
||||
|
||||
\brief implementation for trace related APIs
|
||||
|
||||
\author Kiran Kumar Reddy CH L V
|
||||
|
||||
========================================================================*/
|
||||
/*
|
||||
* DOC: smeTrace.c
|
||||
* Implementation for trace related APIs
|
||||
*
|
||||
* Author Kiran Kumar Reddy CH L V
|
||||
*/
|
||||
#include "ani_global.h" /* for tpAniSirGlobal */
|
||||
#include "mac_trace.h"
|
||||
#include "sme_trace.h"
|
||||
|
|
@ -40,7 +38,7 @@
|
|||
#ifndef SME_TRACE_RECORD
|
||||
void sme_trace_init(tpAniSirGlobal pMac)
|
||||
{
|
||||
return;
|
||||
|
||||
}
|
||||
#endif
|
||||
#ifdef SME_TRACE_RECORD
|
||||
|
|
@ -163,7 +161,6 @@ static uint8_t *sme_trace_get_rx_msg_string(uint32_t code)
|
|||
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_PREF_NET_LIST);
|
||||
default:
|
||||
return "UNKNOWN";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -203,7 +200,6 @@ static uint8_t *sme_trace_get_command_string(uint32_t command)
|
|||
CASE_RETURN_STRING(eSmeCommandNdpDataEndInitiatorRequest);
|
||||
default:
|
||||
return "UNKNOWN";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -244,6 +240,7 @@ static void sme_trace_dump(tpAniSirGlobal mac_ctx, tp_qdf_trace_record record,
|
|||
|
||||
void sme_trace_init(tpAniSirGlobal pMac)
|
||||
{
|
||||
qdf_trace_register(QDF_MODULE_ID_SME, (tp_qdf_trace_cb) &sme_trace_dump);
|
||||
qdf_trace_register(QDF_MODULE_ID_SME, (tp_qdf_trace_cb)
|
||||
&sme_trace_dump);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue