drm/etnaviv: remove unneeded 'fail' label
authorFabio Estevam <festevam@gmail.com>
Sun, 21 Aug 2016 22:32:14 +0000 (19:32 -0300)
committerLucas Stach <l.stach@pengutronix.de>
Thu, 15 Sep 2016 13:29:30 +0000 (15:29 +0200)
commitdb60eda32fa74120efa4ebc2f86d306a7a87fcd7
treeda80c0c827eede76b3218c0627abd28d97bcca4e
parent9e59eea66f9601b3d497abcbb5010a760567b7cf
drm/etnaviv: remove unneeded 'fail' label

In the etnaviv_gpu_platform_probe() error path the 'fail' label is
used to just return the error code.

This can be simplified by returning the error code immediately, so
get rid of the unneeded 'fail' label.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
drivers/gpu/drm/etnaviv/etnaviv_gpu.c