aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_compile_commands.py
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2020-09-22 14:58:47 +0300
committerVinod Koul <[email protected]>2020-09-22 20:18:41 +0530
commitda75ba2482658a0d9ea5245fadfea6b464fab7a3 (patch)
tree8ce03f408fb42a2b3f55b5ac432b53469c85ffdb /scripts/gen_compile_commands.py
parentb28de385b71abf31ce68ec0387638bee26ae9024 (diff)
dmaengine: dmatest: Return boolean result directly in filter()
There is no need to have a conditional for boolean expression when function returns bool. Drop unnecessary code and return boolean result directly. While at it, drop unneeded casting from void *. Cc: Vladimir Murzin <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Tested-by: Peter Ujfalusi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions