dmaengine: at_xdmac: Remove a level of indentation in at_xdmac_advance_work()
authorTudor Ambarus <tudor.ambarus@microchip.com>
Wed, 15 Dec 2021 11:01:11 +0000 (13:01 +0200)
committerVinod Koul <vkoul@kernel.org>
Wed, 5 Jan 2022 10:20:03 +0000 (15:50 +0530)
commit42468aa8b1aa4d7d4d9b56b1d2959d34b7e27575
tree64959a47cda3acefaceea2f9a431e053a6afeafe
parent18deddea9184b62941395889ff7659529c877326
dmaengine: at_xdmac: Remove a level of indentation in at_xdmac_advance_work()

It's easier to read code with fewer levels of indentation, remove a level
of indentation in at_xdmac_advance_work()

if (!foo() & !bar()) {
}

was replaced by:

if (foo() || bar())
return;

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20211215110115.191749-9-tudor.ambarus@microchip.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/at_xdmac.c