[U-Boot] [PATCH 11/16] board_f: Drop unused headers

Simon Glass sjg at chromium.org
Fri Mar 31 14:40:34 UTC 2017


Drop headers which are not used or needed in this file. The compiler.h
header is included by common.h.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 common/board_f.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/common/board_f.c b/common/board_f.c
index 0c0bdc44e3..5df00f33b1 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -11,16 +11,12 @@
  */
 
 #include <common.h>
-#include <linux/compiler.h>
 #include <version.h>
 #include <console.h>
 #include <environment.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <fs.h>
-#if defined(CONFIG_CMD_IDE)
-#include <ide.h>
-#endif
 #include <i2c.h>
 #include <initcall.h>
 #include <logbuff.h>
@@ -59,7 +55,6 @@
 #include <asm/relocate.h>
 #endif
 #include <dm/root.h>
-#include <linux/compiler.h>
 
 /*
  * Pointer to initial global data area
-- 
2.12.2.564.g063fe858b8-goog



More information about the U-Boot mailing list