[PATCH 04/11] ath: Remove extern from function prototypes

Kalle Valo kvalo at qca.qualcomm.com
Thu Sep 26 03:30:00 EDT 2013


Joe Perches <joe at perches.com> writes:

> There are a mix of function prototypes with and without extern
> in the kernel sources.  Standardize on not using extern for
> function prototypes.
>
> Function prototypes don't need to be written with extern.
> extern is assumed by the compiler.  Its use is as unnecessary as
> using auto to declare automatic/local variables in a block.
>
> Signed-off-by: Joe Perches <joe at perches.com>
> ---
>  drivers/net/wireless/ath/ath10k/debug.h  | 8 ++++----
>  drivers/net/wireless/ath/ath6kl/common.h | 3 +--
>  drivers/net/wireless/ath/ath6kl/debug.h  | 9 ++++-----
>  drivers/net/wireless/ath/ath9k/ath9k.h   | 2 +-
>  4 files changed, 10 insertions(+), 12 deletions(-)

For the ath10k and ath6kl changes:

Acked-by: Kalle Valo <kvalo at qca.qualcomm.com>

-- 
Kalle Valo



More information about the ath10k mailing list