diff options
| author | Andy Shevchenko <[email protected]> | 2020-02-26 12:18:38 +0200 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2020-03-02 12:48:13 +0530 |
| commit | 88ac039cbed125bd9ed132d27ec9f689c6442748 (patch) | |
| tree | 5a69f0271182cb6fee96f223182739a6efd0d4fb /tools/perf/scripts/python | |
| parent | 9065958ee6dd752c7e1bbacbb79fe5f5f2218393 (diff) | |
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 <[email protected]>
Reviewed-by: Peter Ujfalusi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions