lkml.org 
[lkml]   [2016]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] tools/gpio: delete useless file gpio-utils.c
Date
From: "winton.liu" <18502523564@163.com>

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@163.com>
---
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

\
 
 \ /
  Last update: 2016-09-17 09:58    [W:0.316 / U:0.808 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site