]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[ARM] 4994/1: <IMX UART>: Move error handling into execution path
authorSascha Hauer <sascha@saschahauer.de>
Thu, 17 Apr 2008 07:39:22 +0000 (08:39 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 17 Apr 2008 15:18:19 +0000 (16:18 +0100)
commit864eeed051b527c8081e2f85b51ba24823acaf71
tree7fa05275be02d98f5956b3030cdbf3c2a5f18228
parent8c9915bf310eeb1fe5a9a614cda6ee57d712460b
[ARM] 4994/1: <IMX UART>: Move error handling into execution path

Move the error handling code for erroneous receive characters into
execution path. This makes the code more readable and the compiler
should know how to optimize this, right?

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/imx.c