]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
genericserial: remove bogus optimisation check and dead code paths
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 16 Jul 2007 06:41:47 +0000 (23:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:51 +0000 (09:05 -0700)
commit35426128adaacf8cdabc2482598252d488b7ccb9
tree492831903703126e883c9eb82c61f49e81c230fb
parentdb0ef08efa1bb94ba9a9e44c255d9058df5fde8d
genericserial: remove bogus optimisation check and dead code paths

We've been using the 'new locking' for a long time now so it seems
pointless keeping the old one around.  Remove it and undo the macros it
uses back into real code for readability.  Remove the bogus 'no termios
change' checks.

Signed-off-by: Alan Cox <alan@redhat.com>
Cc: Morten Helgesen <morten@sourcepoet.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/generic_serial.c