aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorTudor Ambarus <[email protected]>2022-08-02 17:06:30 +0300
committerVinod Koul <[email protected]>2022-09-05 12:01:55 +0530
commit64787536ccfc072dca9b2c7c06c84dcc3f139b10 (patch)
treed8bcbd7186a29e96d6b474f0474142949317a1cf /net/lapb/lapb_timer.c
parentc0c269becf1f5b649b66a7f3eb60ff7e9aa8976d (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions