From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH] of: Make of_match_node() an inline stub for CONFIG_OF=n Date: Thu, 6 Apr 2017 21:54:18 +0200 Message-ID: <20170406195418.GB30623@lunn.ch> References: <20170406193224.10046-1-f.fainelli@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20170406193224.10046-1-f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Florian Fainelli Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, vivien.didelot-4ysUXcep3aM1wj+D4I0NRVaTQe2KTcn/@public.gmane.org, Rob Herring , Frank Rowand , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE" List-Id: devicetree@vger.kernel.org On Thu, Apr 06, 2017 at 12:32:24PM -0700, Florian Fainelli wrote: > Make of_match_node() an inline function when CONFIG_OF=n which allows the > compiler to eliminate warnings about unused variables. > > Suggested-by: Andrew Lunn > Signed-off-by: Florian Fainelli Thanks Florian, Reviewed-by: Andrew Lunn Andrew -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html