mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
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
This commit is contained in:
parent
5676b738b9
commit
03f8f3611d
1 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue