diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-09-14 11:55:38 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-09-25 07:54:05 +0530 |
commit | 22b74406c5ac1829cd60f75c8c6a4ed1e0f4da03 (patch) | |
tree | 3863f6ec5e208e264a77b8f6fe7ad8164570ddd7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 87b045969ad3fe021ccbd1ed88e7cb90adf4ca80 (diff) |
dmaengine: idma64: useless use of min_t()
We use a pattern
x = min_t(u32, <LOG2_CONSTANT>, __ffs(expr));
There is no need to use min_t() since we can replace it by
x = __ffs(expr | <2^LOG2_CONST>);
and moreover guarantee that argument of __ffs() will be not zero.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions