[PATCH] tools/gpio: delete useless file gpio-utils.c

From: winton.liu
Date: Mon Aug 29 2016 - 07:28:00 EST


From: "winton.liu" <18502523564@xxxxxxx>

1.gpio-utils.c only include a header file.
2.gpio-utils.c is not used in other code
Delete the useless code

Signed-off-by: winton.liu <18502523564@xxxxxxx>
---
tools/gpio/Build | 6 +++---
tools/gpio/gpio-utils.c | 11 -----------
2 files changed, 3 insertions(+), 14 deletions(-)
delete mode 100644 tools/gpio/gpio-utils.c

diff --git a/tools/gpio/Build b/tools/gpio/Build
index 620c193..6df304f 100644
--- a/tools/gpio/Build
+++ b/tools/gpio/Build
@@ -1,3 +1,3 @@
-lsgpio-y += lsgpio.o gpio-utils.o
-gpio-hammer-y += gpio-hammer.o gpio-utils.o
-gpio-event-mon-y += gpio-event-mon.o gpio-utils.o
+lsgpio-y += lsgpio.o
+gpio-hammer-y += gpio-hammer.o
+gpio-event-mon-y += gpio-event-mon.o
diff --git a/tools/gpio/gpio-utils.c b/tools/gpio/gpio-utils.c
deleted file mode 100644
index 8208718..0000000
--- a/tools/gpio/gpio-utils.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
- * GPIO tools - helpers library for the GPIO tools
- *
- * Copyright (C) 2015 Linus Walleij
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 as published by
- * the Free Software Foundation.
- */
-
-#include "gpio-utils.h"
--
1.7.9.5