commit | 24fcc7c8cd0fcabcf37d455abe3501b3196fcf64 | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@linux.intel.com> | Tue Jun 01 22:52:59 2010 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Aug 10 13:47:42 2010 -0700 |
tree | 2003e099e16cb2204226253a95b3fbac981977c2 | |
parent | de0c8cb314cc737c47a00de33cd6246accf94192 [diff] |
serial: trim locking on the helpers The port mutex protects port->tty, but these paths never need to walk from port->tty. They do need the low level lock as the API expects that but they already also take it. Thus we can drop the extra mutex lock calls here. Signed-off-by: Alan Cox <alan@linux.intel.com> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>