diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-02-26 13:18:38 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-03-02 10:18:13 +0300 |
commit | 88ac039cbed125bd9ed132d27ec9f689c6442748 (patch) | |
tree | 5a69f0271182cb6fee96f223182739a6efd0d4fb /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9065958ee6dd752c7e1bbacbb79fe5f5f2218393 (diff) | |
download | linux-88ac039cbed125bd9ed132d27ec9f689c6442748.tar.xz |
dmaengine: Refactor dmaengine_check_align() to be bit operations only
There is no need to have branch and temporary variable in the function.
Simple convert it to be a set of bit and arithmetic operations.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20200226101842.29426-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions