From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Petkov Subject: Re: [RFC][PATCH 02/11] x86, tools: Consolidate #ifdef code Date: Thu, 30 Jan 2014 17:05:47 +0100 Message-ID: <20140130160547.GE23342@pd.tnic> References: <1391012637-4839-1-git-send-email-matt@console-pimps.org> <1391012637-4839-3-git-send-email-matt@console-pimps.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <1391012637-4839-3-git-send-email-matt-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Matt Fleming Cc: linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "H. Peter Anvin" , Alan Cox , Matthew Garrett , Matt Fleming List-Id: linux-efi@vger.kernel.org On Wed, Jan 29, 2014 at 04:23:48PM +0000, Matt Fleming wrote: > From: Matt Fleming > > Instead of littering main() with #ifdef CONFIG_EFI_STUB, move the logic > into separate functions that do nothing if the config option isn't set. > This makes main() much easier to read. > > Signed-off-by: Matt Fleming I luvz me some cleanups! Acked-by: Borislav Petkov -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. --