From: Alan Cox Date: Tue, 1 Jun 2010 20:52:59 +0000 (+0200) Subject: serial: trim locking on the helpers X-Git-Tag: v2.6.36-rc1~294^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24fcc7c8cd0fcabcf37d455abe3501b3196fcf64;p=pandora-kernel.git 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 Cc: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed