aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/dgnc
diff options
context:
space:
mode:
authorSrishti Sharma <srishtishar@gmail.com>2017-09-16 22:09:29 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-09-18 11:45:25 +0200
commitf46cf70e2338899a241566aec3c30a4af5d5ba92 (patch)
tree9394ee1b82172cd4bd5b778470430b07b4381200 /drivers/staging/dgnc
parentStaging: dgnc: Remove unused fields in struct dgnc_board (diff)
downloadlinux-dev-f46cf70e2338899a241566aec3c30a4af5d5ba92.tar.xz
linux-dev-f46cf70e2338899a241566aec3c30a4af5d5ba92.zip
Staging: dgnc: Remove unused fields in struct channel_t
Eliminate the fields that are not used and the comments associated with them. Signed-off-by: Srishti Sharma <srishtishar@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgnc')
-rw-r--r--drivers/staging/dgnc/dgnc_driver.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/dgnc/dgnc_driver.h b/drivers/staging/dgnc/dgnc_driver.h
index c13177b27467..efdb11a5e27f 100644
--- a/drivers/staging/dgnc/dgnc_driver.h
+++ b/drivers/staging/dgnc/dgnc_driver.h
@@ -311,8 +311,6 @@ struct un_t {
* @ch_err_overrun: Count of overruns on channel.
* @ch_xon_sends: Count of xons transmitted.
* @ch_xoff_sends: Count of xoffs transmitted.
- * @proc_entry_pointer: Proc/<board>/<channel> entry.
- * @dgnc_channel_table: Proc/<board>/<channel> entry.
*/
struct channel_t {
struct dgnc_board *ch_bd;
@@ -381,10 +379,6 @@ struct channel_t {
ulong ch_xon_sends;
ulong ch_xoff_sends;
-
- struct proc_dir_entry *proc_entry_pointer;
- struct dgnc_proc_entry *dgnc_channel_table;
-
};
extern uint dgnc_major; /* Our driver/mgmt major */