From 575ff198f5a3981e8d9fb54e61876f9082ca3bd7 Mon Sep 17 00:00:00 2001 From: Alison Schofield Date: Fri, 23 Oct 2015 21:33:34 -0700 Subject: [PATCH] staging: r8723au: remove externs and include needed header file Remove extern declaration and add include of header file to get same. Addresses checkpatch.pl: WARNING: externs should be avoided in .c files Signed-off-by: Alison Schofield Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8723au/core/rtw_ap.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_ap.c b/drivers/staging/rtl8723au/core/rtw_ap.c index 0086d5a2f92b..2b8b21653dea 100644 --- a/drivers/staging/rtl8723au/core/rtw_ap.c +++ b/drivers/staging/rtl8723au/core/rtw_ap.c @@ -21,10 +21,7 @@ #include #include #include - -extern unsigned char WMM_OUI23A[]; -extern unsigned char WPS_OUI23A[]; -extern unsigned char P2P_OUI23A[]; +#include void init_mlme_ap_info23a(struct rtw_adapter *padapter) { -- 2.39.5