aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlan-ng/p80211types.h
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2016-09-25 15:34:52 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-25 19:27:04 +0200
commit3fd1e3fcb929e6b51598f76cfc0615259b8cfe54 (patch)
tree9e448124f751af01d307149e3487192d3d30c524 /drivers/staging/wlan-ng/p80211types.h
parentstaging: dgnc: Fix comment alignment (diff)
downloadlinux-dev-3fd1e3fcb929e6b51598f76cfc0615259b8cfe54.tar.xz
linux-dev-3fd1e3fcb929e6b51598f76cfc0615259b8cfe54.zip
staging: wlan-ng: avoid new typedef: p80211pstrd_t
This patch fixes the following checkpatch.pl warning in p80211types.h: WARNING: do not add new typedefs It applies for typedef p80211pstrd_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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wlan-ng/p80211types.h b/drivers/staging/wlan-ng/p80211types.h
index b002ee8a1b45..0908510621f8 100644
--- a/drivers/staging/wlan-ng/p80211types.h
+++ b/drivers/staging/wlan-ng/p80211types.h
@@ -219,10 +219,10 @@ struct p80211pstr {
u8 len;
} __packed;
-typedef struct p80211pstrd {
+struct p80211pstrd {
u8 len;
u8 data[0];
-} __packed p80211pstrd_t;
+} __packed;
/* Maximum pascal string */
typedef struct p80211pstr255 {