caif: remove unused struct member
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Tue, 31 Mar 2015 14:05:23 +0000 (16:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Apr 2015 16:43:09 +0000 (12:43 -0400)
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>
drivers/net/caif/caif_serial.c

index 27bbc56de15fa37497676f8b389cdc17eced09a0..9da06537237ff220a16b3c5831c728d809d91bb1 100644 (file)
@@ -70,7 +70,6 @@ struct ser_device {
        struct tty_struct *tty;
        bool tx_started;
        unsigned long state;
-       char *tty_name;
 #ifdef CONFIG_DEBUG_FS
        struct dentry *debugfs_tty_dir;
        struct debugfs_blob_wrapper tx_blob;