mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
qcacmn: Replace hdd_context_t in wlan_logging_sock_svc
The Linux Coding Style enumerates a few special cases where typedefs are useful, but stresses "NEVER EVER use a typedef unless you can clearly match one of those rules." The hdd_context_t typedef does not meet any of those criteria, so replace references to it with a reference to the underlying struct. Change-Id: I3dfe59ac92a374639faa6774a6538c5d970d3f1d CRs-Fixed: 2100797
This commit is contained in:
parent
2af3d67336
commit
0960ae344a
1 changed files with 2 additions and 2 deletions
|
|
@ -1235,7 +1235,7 @@ static void send_packetdump(qdf_nbuf_t netbuf, uint8_t status,
|
|||
{
|
||||
struct ath_pktlog_hdr pktlog_hdr = {0};
|
||||
struct packet_dump pd_hdr = {0};
|
||||
hdd_context_t *hdd_ctx;
|
||||
struct hdd_context *hdd_ctx;
|
||||
hdd_adapter_t *adapter;
|
||||
v_CONTEXT_t vos_ctx;
|
||||
|
||||
|
|
@ -1243,7 +1243,7 @@ static void send_packetdump(qdf_nbuf_t netbuf, uint8_t status,
|
|||
if (!vos_ctx)
|
||||
return;
|
||||
|
||||
hdd_ctx = (hdd_context_t *)cds_get_context(QDF_MODULE_ID_HDD);
|
||||
hdd_ctx = (struct hdd_context *)cds_get_context(QDF_MODULE_ID_HDD);
|
||||
if (!hdd_ctx)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue