diff --git a/sys/conf/files b/sys/conf/files index a95e04564f00..1e67a9a6233a 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -767,7 +767,7 @@ dev/ath/ath_hal/ah_eeprom_v4k.c \ # XXX Work around clang warning, until maintainer approves fix. dev/ath/ath_hal/ah_eeprom_9287.c \ optional ath_hal | ath_ar9287 \ - compile-with "${NORMAL_C} ${NO_WSOMETIMES_UNINITIALIZED} -I$S/dev/ath" + compile-with "${NORMAL_C} -I$S/dev/ath" dev/ath/ath_hal/ah_regdomain.c optional ath \ compile-with "${NORMAL_C} ${NO_WSHIFT_COUNT_NEGATIVE} ${NO_WSHIFT_COUNT_OVERFLOW} -I$S/dev/ath" # ar5210 diff --git a/sys/modules/ath/Makefile b/sys/modules/ath/Makefile index 3c43f2e3715d..6c27c0a669fc 100644 --- a/sys/modules/ath/Makefile +++ b/sys/modules/ath/Makefile @@ -150,6 +150,5 @@ opt_ah.h: CWARNFLAGS.ah_regdomain.c= ${NO_WSHIFT_COUNT_NEGATIVE} ${NO_WSHIFT_COUNT_OVERFLOW} # XXX Work around clang warnings, until maintainer approves fix. -CWARNFLAGS.ah_eeprom_9287.c= ${NO_WSOMETIMES_UNINITIALIZED} CWARNFLAGS.if_ath.c= ${NO_WSOMETIMES_UNINITIALIZED} CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}