Staging: dgnc: Remove unused fields in struct channel_t
authorSrishti Sharma <srishtishar@gmail.com>
Sat, 16 Sep 2017 16:39:29 +0000 (22:09 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Sep 2017 09:45:25 +0000 (11:45 +0200)
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>
drivers/staging/dgnc/dgnc_driver.h

index c13177b..efdb11a 100644 (file)
@@ -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 */