diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2016-09-25 13:34:59 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-25 17:53:06 (GMT) |
commit | ac033ec9f71a7107b64390fd9b52f799a22acedf (patch) | |
tree | 0f71d85458610cb59e081ee9af873392394fe488 /drivers/staging/wlan-ng/p80211types.h | |
parent | cf796937323dba7622409801a96fa09741523505 (diff) | |
download | linux-ac033ec9f71a7107b64390fd9b52f799a22acedf.tar.xz |
staging: wlan-ng: avoid new typedef: p80211itemd_t
This patch fixes the following checkpatch.pl warning in p80211types.h:
WARNING: do not add new typedefs
It applies for typedef p80211itemd_t
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlan-ng/p80211types.h')
-rw-r--r-- | drivers/staging/wlan-ng/p80211types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wlan-ng/p80211types.h b/drivers/staging/wlan-ng/p80211types.h index 6540044..57a65a8 100644 --- a/drivers/staging/wlan-ng/p80211types.h +++ b/drivers/staging/wlan-ng/p80211types.h @@ -262,12 +262,12 @@ struct p80211item { } __packed; /* prototype template w/ data item */ -typedef struct p80211itemd { +struct p80211itemd { u32 did; u16 status; u16 len; u8 data[0]; -} __packed p80211itemd_t; +} __packed; /* message data item for int, BOUNDEDINT, ENUMINT */ typedef struct p80211item_uint32 { |