PCI: imx6: Simplify a trivial if-return sequence
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 20 Aug 2015 06:31:58 +0000 (01:31 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 20 Aug 2015 06:31:58 +0000 (01:31 -0500)
commit8d1ceb52e110aec808d64973f90fe4f69a5e42e9
treed567352d0df1acbb614a02d6bfde145db9419eb3
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590
PCI: imx6: Simplify a trivial if-return sequence

Simplify a trivial if-return sequence by combining it with a preceding
function call.

The semantic patch that makes this change is available in
scripts/coccinelle/misc/simple_return.cocci.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Lucas Stach <l.stach@pengutronix.de>
drivers/pci/host/pci-imx6.c