From 53da683cf99b7be5ba4e8bec3d060f6593a59cbe Mon Sep 17 00:00:00 2001 From: Segwon Date: Wed, 15 Nov 2017 15:52:34 +0900 Subject: [PATCH] including: remove unnecessary header files Change-Id: Ice8e09e5654bbc2e94d5c41b5e1d5d86e5b78239 Signed-off-by: Segwon --- include/gdbus/peripheral_gdbus_common.h | 1 - include/interface/peripheral_interface_common.h | 3 --- include/peripheral_common.h | 2 +- src/peripheral_gpio.c | 4 ---- src/peripheral_i2c.c | 3 --- src/peripheral_pwm.c | 3 --- src/peripheral_spi.c | 4 ---- src/peripheral_uart.c | 3 --- 8 files changed, 1 insertion(+), 22 deletions(-) diff --git a/include/gdbus/peripheral_gdbus_common.h b/include/gdbus/peripheral_gdbus_common.h index ed8c397..6885a61 100644 --- a/include/gdbus/peripheral_gdbus_common.h +++ b/include/gdbus/peripheral_gdbus_common.h @@ -17,7 +17,6 @@ #ifndef __PERIPHERAL_GDBUS_COMMON_H__ #define __PERIPHERAL_GDBUS_COMMON_H__ -#include #include #include #include diff --git a/include/interface/peripheral_interface_common.h b/include/interface/peripheral_interface_common.h index f0bd657..8cb2ed8 100644 --- a/include/interface/peripheral_interface_common.h +++ b/include/interface/peripheral_interface_common.h @@ -19,9 +19,6 @@ #include #include -#include -#include -#include #include #include "peripheral_io.h" diff --git a/include/peripheral_common.h b/include/peripheral_common.h index 19352be..c5702d3 100644 --- a/include/peripheral_common.h +++ b/include/peripheral_common.h @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + #ifndef __PERIPHERAL_COMMON_H__ #define __PERIPHERAL_COMMON_H__ -#include #include #undef LOG_TAG diff --git a/src/peripheral_gpio.c b/src/peripheral_gpio.c index 06806ec..5992d16 100644 --- a/src/peripheral_gpio.c +++ b/src/peripheral_gpio.c @@ -14,12 +14,8 @@ * limitations under the License. */ -#include #include -#include -#include #include -#include #include "peripheral_io.h" #include "peripheral_gdbus_gpio.h" diff --git a/src/peripheral_i2c.c b/src/peripheral_i2c.c index 89c1674..c61374b 100644 --- a/src/peripheral_i2c.c +++ b/src/peripheral_i2c.c @@ -14,10 +14,7 @@ * limitations under the License. */ -#include #include -#include -#include #include #include "peripheral_io.h" diff --git a/src/peripheral_pwm.c b/src/peripheral_pwm.c index c671ff4..74f807a 100644 --- a/src/peripheral_pwm.c +++ b/src/peripheral_pwm.c @@ -14,10 +14,7 @@ * limitations under the License. */ -#include #include -#include -#include #include #include "peripheral_io.h" diff --git a/src/peripheral_spi.c b/src/peripheral_spi.c index 0a9e95e..61d3b79 100644 --- a/src/peripheral_spi.c +++ b/src/peripheral_spi.c @@ -14,11 +14,7 @@ * limitations under the License. */ -#include "peripheral_io.h" - -#include #include -#include #include #include "peripheral_io.h" diff --git a/src/peripheral_uart.c b/src/peripheral_uart.c index 0d67c98..d63c100 100644 --- a/src/peripheral_uart.c +++ b/src/peripheral_uart.c @@ -14,10 +14,7 @@ * limitations under the License. */ -#include #include -#include -#include #include #include "peripheral_io.h" -- 2.7.4