Andy Shevchenko da75ba2482 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 <vladimir.murzin@arm.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20200922115847.30100-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2020-09-22 20:18:41 +05:30
..
2019-07-17 09:55:43 -07:00
2020-09-11 17:45:36 +05:30
2020-09-11 17:45:36 +05:30
2020-08-07 11:13:37 +05:30
2019-07-17 09:55:43 -07:00
2020-09-11 17:42:13 +05:30
2020-09-11 17:45:36 +05:30
2019-07-17 09:55:43 -07:00
2020-01-27 10:55:50 -08:00