hwrng: mxc-rnga - Remove unneeded goto label
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 12 Sep 2015 23:19:50 +0000 (20:19 -0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 21 Sep 2015 14:00:38 +0000 (22:00 +0800)
commit1bf2138e9806ea436933d5a803547833f9524c8f
tree6e3db5c9c1ba9dff2e30f4fad1a41c91292b21b3
parent6c5de9871a4d43bba179c6a862eeb53b5232f996
hwrng: mxc-rnga - Remove unneeded goto label

We can simplify the code by returning the error code immediately
instead of jumping to a goto label.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/mxc-rnga.c