From a173a6255b5c3b7febea5cdf581fc3a57299954a Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Tue, 17 Jun 2014 17:05:36 +1000 Subject: Remove guarding #includes by CONFIG_FOO combinations First of many to remove guarding the inclusion of headers based on CONFIG_ options. This *potentially* could hide issues such as functions being swapped from under our feet, since different runtime behaviour could be declared with the function same name and type-signature. Hence, depending on the header we happen to get may change runtime behaviour. Change-Id: Ife56801c783c44e1882abef711e09b85b7f295a4 Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/6055 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/google/stout/i915.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/mainboard/google/stout/i915.c') diff --git a/src/mainboard/google/stout/i915.c b/src/mainboard/google/stout/i915.c index 4ebd567efe..3c1e672d91 100644 --- a/src/mainboard/google/stout/i915.c +++ b/src/mainboard/google/stout/i915.c @@ -6,9 +6,7 @@ #include #include #include -#if defined(CONFIG_PCI_OPTION_ROM_RUN_YABEL)&&CONFIG_PCI_OPTION_ROM_RUN_YABEL #include -#endif #include #include #include -- cgit v1.2.3