diff options
author | Alan Cox <alan@linux.intel.com> | 2010-06-02 00:52:59 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-11 00:47:42 +0400 |
commit | 24fcc7c8cd0fcabcf37d455abe3501b3196fcf64 (patch) | |
tree | 2003e099e16cb2204226253a95b3fbac981977c2 /drivers/char | |
parent | de0c8cb314cc737c47a00de33cd6246accf94192 (diff) | |
download | linux-24fcc7c8cd0fcabcf37d455abe3501b3196fcf64.tar.xz |
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>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions