diff options
| author | 2022-08-02 17:06:30 +0300 | |
|---|---|---|
| committer | 2022-09-05 12:01:55 +0530 | |
| commit | 64787536ccfc072dca9b2c7c06c84dcc3f139b10 (patch) | |
| tree | d8bcbd7186a29e96d6b474f0474142949317a1cf /tools/include/trace/git:/ssh:/git@git.zx2c4.com | |
| parent | dmaengine: pl330: Remove unused flags (diff) | |
| download | linux-dev-64787536ccfc072dca9b2c7c06c84dcc3f139b10.tar.xz linux-dev-64787536ccfc072dca9b2c7c06c84dcc3f139b10.zip | |
dmaengine: at_xdmac: Replace two if statements with only one with two conditions
Add a cosmetic change and replace two if statements with a single if
statement with two conditions. In case the optional txstate parameter is
NULL, we return the dma_cookie_status, which is fine, no functional change
required.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20220802140630.243550-1-tudor.ambarus@microchip.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/include/trace/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
