serial: replace the state mutex with the tty port mutex

They cover essentially the same stuff and we can therefore fold it into the
tty_port one.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Alan Cox 2009-09-19 13:13:31 -07:00 committed by Live-CD User
parent a03006860d
commit a2bceae065
3 changed files with 123 additions and 114 deletions

View file

@ -351,8 +351,6 @@ struct uart_state {
struct tasklet_struct tlet;
wait_queue_head_t delta_msr_wait;
struct uart_port *uart_port;
struct mutex mutex;
};
#define UART_XMIT_SIZE PAGE_SIZE