diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2015-03-31 10:05:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-01 12:43:09 -0400 |
commit | 906a7985f72ee2f28433e2dd847a013da0e4cdea (patch) | |
tree | baec834a715ba34e9e2facff8f06bc519ab49929 | |
parent | 9911674fcf1f239ff3c87e56177c4826e33dfd95 (diff) |
caif: remove unused struct member
The tty_name member of struct ser_device is never set or used, so it
can be removed. (The definition of struct ser_device is private to
this .c file, and the identifier tty_name only occurs in this one
place.)
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/caif/caif_serial.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/caif/caif_serial.c b/drivers/net/caif/caif_serial.c index 27bbc56de15f..9da06537237f 100644 --- a/drivers/net/caif/caif_serial.c +++ b/drivers/net/caif/caif_serial.c | |||
@@ -70,7 +70,6 @@ struct ser_device { | |||
70 | struct tty_struct *tty; | 70 | struct tty_struct *tty; |
71 | bool tx_started; | 71 | bool tx_started; |
72 | unsigned long state; | 72 | unsigned long state; |
73 | char *tty_name; | ||
74 | #ifdef CONFIG_DEBUG_FS | 73 | #ifdef CONFIG_DEBUG_FS |
75 | struct dentry *debugfs_tty_dir; | 74 | struct dentry *debugfs_tty_dir; |
76 | struct debugfs_blob_wrapper tx_blob; | 75 | struct debugfs_blob_wrapper tx_blob; |