Commit 906a7985 authored by Rasmus Villemoes's avatar Rasmus Villemoes Committed by David S. Miller

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: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9911674f
...@@ -70,7 +70,6 @@ struct ser_device { ...@@ -70,7 +70,6 @@ struct ser_device {
struct tty_struct *tty; struct tty_struct *tty;
bool tx_started; bool tx_started;
unsigned long state; unsigned long state;
char *tty_name;
#ifdef CONFIG_DEBUG_FS #ifdef CONFIG_DEBUG_FS
struct dentry *debugfs_tty_dir; struct dentry *debugfs_tty_dir;
struct debugfs_blob_wrapper tx_blob; struct debugfs_blob_wrapper tx_blob;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment