From: Sergio Paracuellos Date: Sun, 25 Sep 2016 13:34:57 +0000 (+0200) Subject: staging: wlan-ng: avoid new typedef: p80211macarray_t X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=46c226d77e9175daa85e7bb4a215724131069957;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: wlan-ng: avoid new typedef: p80211macarray_t This patch fixes the following checkpatch.pl warning in p80211types.h: WARNING: do not add new typedefs It applies for typedef p80211macarray_t Signed-off-by: Sergio Paracuellos Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wlan-ng/p80211types.h b/drivers/staging/wlan-ng/p80211types.h index 3d5e81be935b..b7670491e6f3 100644 --- a/drivers/staging/wlan-ng/p80211types.h +++ b/drivers/staging/wlan-ng/p80211types.h @@ -249,10 +249,10 @@ struct p80211pstr32 { } __packed; /* MAC address array */ -typedef struct p80211macarray { +struct p80211macarray { u32 cnt; u8 data[1][MAXLEN_PSTR6]; -} __packed p80211macarray_t; +} __packed; /* prototype template */ typedef struct p80211item {