summaryrefslogtreecommitdiffstats
path: root/drivers/tty/hvc/hvc_console.h
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-04-02 13:54:23 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-09 11:28:18 -0700
commit0146b6939074ebe14ece3604fd00e7be128a3812 (patch)
tree4dba1ecf72b9a2af168e9e6a71b156344307ca2f /drivers/tty/hvc/hvc_console.h
parent85bbc003b24335e253a392f6a9874103b77abb36 (diff)
TTY: HVC, use count from tty_port
Now, count is used from tty_port and protected by tty_port->lock. n_outbuf is left unprotected in hvc_hangup now, because there is no point to hold any lock, since other uses are unprotected too. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/hvc/hvc_console.h')
-rw-r--r--drivers/tty/hvc/hvc_console.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/hvc/hvc_console.h b/drivers/tty/hvc/hvc_console.h
index 594a28fe0da..674d23cb919 100644
--- a/drivers/tty/hvc/hvc_console.h
+++ b/drivers/tty/hvc/hvc_console.h
@@ -49,7 +49,6 @@ struct hvc_struct {
struct tty_port port;
spinlock_t lock;
int index;
- int count;
int do_wakeup;
char *outbuf;
int outbuf_size;