From 03f8f3611d6d47a7e84cd37c7b46a39582d2b733 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Mon, 28 Aug 2017 12:04:24 -0700 Subject: [PATCH] qcacld-3.0: Replace hdd_context_t in wlan_hdd_debugfs_llstat.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: Id69553b8ef9cc8daad1e1c136c0edfccfb820860 CRs-Fixed: 2100150 --- core/hdd/src/wlan_hdd_debugfs_llstat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/hdd/src/wlan_hdd_debugfs_llstat.c b/core/hdd/src/wlan_hdd_debugfs_llstat.c index 22dd0671183d..15d5ce9dabd5 100644 --- a/core/hdd/src/wlan_hdd_debugfs_llstat.c +++ b/core/hdd/src/wlan_hdd_debugfs_llstat.c @@ -341,7 +341,7 @@ static ssize_t __wlan_hdd_read_ll_stats_debugfs(struct file *file, char __user *buf, size_t count, loff_t *pos) { hdd_adapter_t *adapter; - hdd_context_t *hdd_ctx; + struct hdd_context *hdd_ctx; ssize_t ret = 0; ENTER(); @@ -399,7 +399,7 @@ static int __wlan_hdd_open_ll_stats_debugfs(struct inode *inode, struct file *file) { hdd_adapter_t *adapter; - hdd_context_t *hdd_ctx; + struct hdd_context *hdd_ctx; int ret; ENTER(); @@ -463,7 +463,7 @@ static int __wlan_hdd_release_ll_stats_debugfs(struct inode *inode, struct file *file) { hdd_adapter_t *adapter; - hdd_context_t *hdd_ctx; + struct hdd_context *hdd_ctx; int ret; ENTER();