qcacld-3.0: Replace hdd_context_t in wlan_hdd_napi.c

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: If336b3f168d6e4b5cd1925030cd65e171f8100b3
CRs-Fixed: 2100148
This commit is contained in:
Jeff Johnson
2017-08-28 11:50:54 -07:00
orang tua c1ad741419
melakukan 5676b738b9

Melihat File

@@ -105,7 +105,7 @@ int hdd_napi_create(void)
{
struct hif_opaque_softc *hif_ctx;
int rc = 0;
hdd_context_t *hdd_ctx;
struct hdd_context *hdd_ctx;
uint8_t feature_flags = 0;
NAPI_DEBUG("-->");
@@ -345,7 +345,7 @@ int hdd_napi_apply_throughput_policy(struct hdd_context *hddctx,
int hdd_napi_serialize(int is_on)
{
int rc;
hdd_context_t *hdd_ctx;
struct hdd_context *hdd_ctx;
#define POLICY_DELAY_FACTOR (1)
rc = hif_napi_serialize(cds_get_context(QDF_MODULE_ID_HIF), is_on);
if ((rc == 0) && (is_on == 0)) {