Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1733312
| From | Srishti Sharma <srishtishar@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 2/2] Staging: dgnc: Remove unused fields in struct channel_t |
| Date | 2017-09-16 18:40 +0200 |
| Message-ID | <uqoim-46D-17@gated-at.bofh.it> (permalink) |
| References | <uqoil-46D-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Eliminate the fields that are not used and the comments
associated with them.
Signed-off-by: Srishti Sharma <srishtishar@gmail.com>
---
Changes in v2:
- Use the word field instead of variable.
drivers/staging/dgnc/dgnc_driver.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_driver.h b/drivers/staging/dgnc/dgnc_driver.h
index 5d2566e..082d659 100644
--- a/drivers/staging/dgnc/dgnc_driver.h
+++ b/drivers/staging/dgnc/dgnc_driver.h
@@ -312,8 +312,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;
@@ -382,10 +380,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 */
--
2.7.4
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 0/2] Remove unused fields in structure definition Srishti Sharma <srishtishar@gmail.com> - 2017-09-16 18:40 +0200
[PATCH v2 1/2] Staging: dgnc: Remove unused fields in struct dgnc_board Srishti Sharma <srishtishar@gmail.com> - 2017-09-16 18:40 +0200
Re: [Outreachy kernel] [PATCH v2 1/2] Staging: dgnc: Remove unused fields in struct dgnc_board Julia Lawall <julia.lawall@lip6.fr> - 2017-09-16 19:20 +0200
[PATCH v2 2/2] Staging: dgnc: Remove unused fields in struct channel_t Srishti Sharma <srishtishar@gmail.com> - 2017-09-16 18:40 +0200
Re: [Outreachy kernel] [PATCH v2 2/2] Staging: dgnc: Remove unused fields in struct channel_t Julia Lawall <julia.lawall@lip6.fr> - 2017-09-16 19:30 +0200
csiph-web