Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755820Ab3IZHaQ (ORCPT ); Thu, 26 Sep 2013 03:30:16 -0400 Received: from wolverine02.qualcomm.com ([199.106.114.251]:29894 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753313Ab3IZHaO (ORCPT ); Thu, 26 Sep 2013 03:30:14 -0400 X-IronPort-AV: E=McAfee;i="5400,1158,7209"; a="76818769" Cc: , , Jouni Malinen , "Luis R. Rodriguez" , , "John W. Linville" , , "David S. Miller" , X-IronPort-AV: E=McAfee;i="5400,1158,7209"; a="517638642" From: Kalle Valo To: Joe Perches Subject: Re: [PATCH 04/11] ath: Remove extern from function prototypes References: Date: Thu, 26 Sep 2013 10:30:00 +0300 In-Reply-To: (Joe Perches's message of "Wed, 25 Sep 2013 12:37:22 -0700") Message-ID: <871u4ct4zr.fsf@kamboji.qca.qualcomm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Originating-IP: [172.30.48.1] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1051 Lines: 29 Joe Perches 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 > --- > 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 -- Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/