From: Kalle Valo Date: Thu, 16 Jan 2014 17:44:07 +0200 Subject: [ath9k-devel] [PATCH 1/5] ath: add common function ath_is_mybeacon In-Reply-To: <1389802038-6688-2-git-send-email-linux@rempel-privat.de> (Oleksij Rempel's message of "Wed, 15 Jan 2014 17:07:14 +0100") References: <1389802038-6688-1-git-send-email-linux@rempel-privat.de> <1389802038-6688-2-git-send-email-linux@rempel-privat.de> Message-ID: <87r488lyns.fsf@purkki.adurom.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Oleksij Rempel writes: > +bool ath_is_mybeacon(struct ath_common *common, struct ieee80211_hdr *hdr) Would a static inline be better? At least on ath9k I suspect the compiler automatically inlines the static function, after your patch there's an extra function call. -- Kalle Valo