Преглед на файлове

sm8450-common: gpt-utils: Drop unnecessary includes.

 * When using generated_kernel_headers including
   asm/byteorder.h will cause a warning due to
   unused static functions.

 * When using generated_kernel_headers including
   stdio.h will cause errors due to redefined macros.

Change-Id: I2a74ec92487c13c4645048c96da8cb92b3cbd9f0
LuK1337 преди 5 години
родител
ревизия
4ca9839edd
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 2
      gpt-utils/gpt-utils.cpp

+ 0 - 2
gpt-utils/gpt-utils.cpp

@@ -32,7 +32,6 @@
 /******************************************************************************
  * INCLUDE SECTION
  ******************************************************************************/
-#include <stdio.h>
 #include <fcntl.h>
 #include <string.h>
 #include <errno.h>
@@ -43,7 +42,6 @@
 #include <limits.h>
 #include <dirent.h>
 #include <linux/kernel.h>
-#include <asm/byteorder.h>
 #include <map>
 #include <vector>
 #include <string>