Return-path: Received: from charlotte.tuxdriver.com ([70.61.120.58]:41821 "EHLO smtp.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755671Ab2EBSRs (ORCPT ); Wed, 2 May 2012 14:17:48 -0400 Date: Wed, 2 May 2012 14:12:29 -0400 From: "John W. Linville" To: Thomas Pedersen Cc: Andrei Emeltchenko , linux-wireless@vger.kernel.org Subject: Re: [PATCH] mac80211: mesh: Remove un-needed defines Message-ID: <20120502181229.GD9285@tuxdriver.com> (sfid-20120502_201752_968581_54FBCE0D) References: <1335472901-12323-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 In-Reply-To: Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, Apr 26, 2012 at 02:41:32PM -0700, Thomas Pedersen wrote: > Hi Andrei, > > On Thu, Apr 26, 2012 at 1:41 PM, Andrei Emeltchenko > wrote: > > From: Andrei Emeltchenko > > > > ieee80211_vif_is_mesh is already defined as: > > > > <------8<-------------------------------------------------------------- > > | ?static inline bool ieee80211_vif_is_mesh(struct ieee80211_vif *vif) > > | ?{ > > | ?#ifdef CONFIG_MAC80211_MESH > > | ? ? ? ? ?return vif->type == NL80211_IFTYPE_MESH_POINT; > > | ?#endif > > | ? ? ? ? ?return false; > > | ?} > > | > > <------8<-------------------------------------------------------------- > > > > Signed-off-by: Andrei Emeltchenko > ACK if you tested w/o CONFIG_MAC80211_MESH. Well...did you?? -- John W. Linville Someday the world will need a hero, and you linville@tuxdriver.com might be all we have. Be ready.