serial: imx: Remove unneeded goto label
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 27 Oct 2014 16:49:38 +0000 (14:49 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 04:03:20 +0000 (20:03 -0800)
commitcb0f0a5ff43c1ae05c6d696857c42dceb0cda7f8
tree68334c6b34d167f08fb9ff95f4e8e805b8752572
parentc0d1c6b0f0dc731b1b17f48876f048af36ad3ce8
serial: imx: Remove unneeded goto label

Instead of jumping to 'error_out1' label we can simplify the code and return the
error code directly.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c