diff options
author | Seunghun Lee <waydi1@gmail.com> | 2014-07-31 09:31:48 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-01 17:50:04 -0400 |
commit | dfc2b00152e99e3adc36d7066811cd936b7cd60d (patch) | |
tree | 26f2c320866a4f88f0f84d3d206cf58d407fedea | |
parent | 83f053de12db59d44ab534e7ad86a87a83936826 (diff) |
staging: dgnc: Remove unneeded dgnc_trace.c and dgnc_trace.h
Removes unneeded dgnc_trace.c and dgnc_trace.h
CC: Lidza Louina <lidza.louina@gmail.com>
CC: Mark Hounschell <markh@compro.net>
Signed-off-by: Seunghun Lee <waydi1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/dgnc/Makefile | 2 | ||||
-rw-r--r-- | drivers/staging/dgnc/dgnc_cls.c | 1 | ||||
-rw-r--r-- | drivers/staging/dgnc/dgnc_driver.c | 1 | ||||
-rw-r--r-- | drivers/staging/dgnc/dgnc_neo.c | 1 | ||||
-rw-r--r-- | drivers/staging/dgnc/dgnc_trace.c | 54 | ||||
-rw-r--r-- | drivers/staging/dgnc/dgnc_trace.h | 34 | ||||
-rw-r--r-- | drivers/staging/dgnc/dgnc_tty.c | 1 |
7 files changed, 1 insertions, 93 deletions
diff --git a/drivers/staging/dgnc/Makefile b/drivers/staging/dgnc/Makefile index 888c4334236b..733434f63700 100644 --- a/drivers/staging/dgnc/Makefile +++ b/drivers/staging/dgnc/Makefile | |||
@@ -4,4 +4,4 @@ obj-$(CONFIG_DGNC) += dgnc.o | |||
4 | 4 | ||
5 | dgnc-objs := dgnc_cls.o dgnc_driver.o\ | 5 | dgnc-objs := dgnc_cls.o dgnc_driver.o\ |
6 | dgnc_mgmt.o dgnc_neo.o\ | 6 | dgnc_mgmt.o dgnc_neo.o\ |
7 | dgnc_trace.o dgnc_tty.o dgnc_sysfs.o | 7 | dgnc_tty.o dgnc_sysfs.o |
diff --git a/drivers/staging/dgnc/dgnc_cls.c b/drivers/staging/dgnc/dgnc_cls.c index 5a76a8e2f6cf..cfa8384c0077 100644 --- a/drivers/staging/dgnc/dgnc_cls.c +++ b/drivers/staging/dgnc/dgnc_cls.c | |||
@@ -41,7 +41,6 @@ | |||
41 | #include "dgnc_driver.h" /* Driver main header file */ | 41 | #include "dgnc_driver.h" /* Driver main header file */ |
42 | #include "dgnc_cls.h" | 42 | #include "dgnc_cls.h" |
43 | #include "dgnc_tty.h" | 43 | #include "dgnc_tty.h" |
44 | #include "dgnc_trace.h" | ||
45 | 44 | ||
46 | static inline void cls_parse_isr(struct dgnc_board *brd, uint port); | 45 | static inline void cls_parse_isr(struct dgnc_board *brd, uint port); |
47 | static inline void cls_clear_break(struct channel_t *ch, int force); | 46 | static inline void cls_clear_break(struct channel_t *ch, int force); |
diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc/dgnc_driver.c index a5be9111987d..764613b2f4b4 100644 --- a/drivers/staging/dgnc/dgnc_driver.c +++ b/drivers/staging/dgnc/dgnc_driver.c | |||
@@ -40,7 +40,6 @@ | |||
40 | #include "dpacompat.h" | 40 | #include "dpacompat.h" |
41 | #include "dgnc_mgmt.h" | 41 | #include "dgnc_mgmt.h" |
42 | #include "dgnc_tty.h" | 42 | #include "dgnc_tty.h" |
43 | #include "dgnc_trace.h" | ||
44 | #include "dgnc_cls.h" | 43 | #include "dgnc_cls.h" |
45 | #include "dgnc_neo.h" | 44 | #include "dgnc_neo.h" |
46 | #include "dgnc_sysfs.h" | 45 | #include "dgnc_sysfs.h" |
diff --git a/drivers/staging/dgnc/dgnc_neo.c b/drivers/staging/dgnc/dgnc_neo.c index 9de988cc892b..68ff1161e677 100644 --- a/drivers/staging/dgnc/dgnc_neo.c +++ b/drivers/staging/dgnc/dgnc_neo.c | |||
@@ -41,7 +41,6 @@ | |||
41 | #include "dgnc_driver.h" /* Driver main header file */ | 41 | #include "dgnc_driver.h" /* Driver main header file */ |
42 | #include "dgnc_neo.h" /* Our header file */ | 42 | #include "dgnc_neo.h" /* Our header file */ |
43 | #include "dgnc_tty.h" | 43 | #include "dgnc_tty.h" |
44 | #include "dgnc_trace.h" | ||
45 | 44 | ||
46 | static inline void neo_parse_lsr(struct dgnc_board *brd, uint port); | 45 | static inline void neo_parse_lsr(struct dgnc_board *brd, uint port); |
47 | static inline void neo_parse_isr(struct dgnc_board *brd, uint port); | 46 | static inline void neo_parse_isr(struct dgnc_board *brd, uint port); |
diff --git a/drivers/staging/dgnc/dgnc_trace.c b/drivers/staging/dgnc/dgnc_trace.c deleted file mode 100644 index 3bb225957ff6..000000000000 --- a/drivers/staging/dgnc/dgnc_trace.c +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright 2003 Digi International (www.digi.com) | ||
3 | * Scott H Kilau <Scott_Kilau at digi dot com> | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2, or (at your option) | ||
8 | * any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED; without even the | ||
12 | * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR | ||
13 | * PURPOSE. See the GNU General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program; if not, write to the Free Software | ||
17 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
18 | * | ||
19 | * | ||
20 | * NOTE TO LINUX KERNEL HACKERS: DO NOT REFORMAT THIS CODE! | ||
21 | * | ||
22 | * This is shared code between Digi's CVS archive and the | ||
23 | * Linux Kernel sources. | ||
24 | * Changing the source just for reformatting needlessly breaks | ||
25 | * our CVS diff history. | ||
26 | * | ||
27 | * Send any bug fixes/changes to: Eng.Linux at digi dot com. | ||
28 | * Thank you. | ||
29 | * | ||
30 | */ | ||
31 | |||
32 | #include <linux/kernel.h> | ||
33 | #include <linux/sched.h> /* For jiffies, task states */ | ||
34 | #include <linux/interrupt.h> /* For tasklet and interrupt structs/defines */ | ||
35 | #include <linux/vmalloc.h> | ||
36 | |||
37 | #include "dgnc_driver.h" | ||
38 | #include "dgnc_trace.h" | ||
39 | |||
40 | #define TRC_TO_CONSOLE 1 | ||
41 | |||
42 | /* file level globals */ | ||
43 | static char *dgnc_trcbuf; /* the ringbuffer */ | ||
44 | |||
45 | /* | ||
46 | * dgnc_tracer_free() | ||
47 | * | ||
48 | * | ||
49 | */ | ||
50 | void dgnc_tracer_free(void) | ||
51 | { | ||
52 | if (dgnc_trcbuf) | ||
53 | vfree(dgnc_trcbuf); | ||
54 | } | ||
diff --git a/drivers/staging/dgnc/dgnc_trace.h b/drivers/staging/dgnc/dgnc_trace.h deleted file mode 100644 index 4f4e2b9146c6..000000000000 --- a/drivers/staging/dgnc/dgnc_trace.h +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright 2003 Digi International (www.digi.com) | ||
3 | * Scott H Kilau <Scott_Kilau at digi dot com> | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2, or (at your option) | ||
8 | * any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED; without even the | ||
12 | * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR | ||
13 | * PURPOSE. See the GNU General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program; if not, write to the Free Software | ||
17 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
18 | * | ||
19 | * NOTE: THIS IS A SHARED HEADER. DO NOT CHANGE CODING STYLE!!! | ||
20 | * | ||
21 | ***************************************************************************** | ||
22 | * Header file for dgnc_trace.c | ||
23 | * | ||
24 | */ | ||
25 | |||
26 | #ifndef __DGNC_TRACE_H | ||
27 | #define __DGNC_TRACE_H | ||
28 | |||
29 | #include "dgnc_driver.h" | ||
30 | |||
31 | void dgnc_tracer_free(void); | ||
32 | |||
33 | #endif | ||
34 | |||
diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c index 453efce75ffd..c712b431f969 100644 --- a/drivers/staging/dgnc/dgnc_tty.c +++ b/drivers/staging/dgnc/dgnc_tty.c | |||
@@ -53,7 +53,6 @@ | |||
53 | #include "dgnc_driver.h" | 53 | #include "dgnc_driver.h" |
54 | #include "dgnc_tty.h" | 54 | #include "dgnc_tty.h" |
55 | #include "dgnc_types.h" | 55 | #include "dgnc_types.h" |
56 | #include "dgnc_trace.h" | ||
57 | #include "dgnc_neo.h" | 56 | #include "dgnc_neo.h" |
58 | #include "dgnc_cls.h" | 57 | #include "dgnc_cls.h" |
59 | #include "dpacompat.h" | 58 | #include "dpacompat.h" |