diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-07-23 23:41:55 +0300 |
---|---|---|
committer | Song Liu <songliubraving@fb.com> | 2019-08-07 10:25:02 -0700 |
commit | cf89160793c439dca00e2563d0b7f153c274027b (patch) | |
tree | f8ec97a9952d2ffe4346772fa79abde4256f1721 /drivers/md/raid10.c | |
parent | 7cee6d4e6035603d42acd56d591e624921aa1b14 (diff) | |
download | linux-cf89160793c439dca00e2563d0b7f153c274027b.tar.gz linux-cf89160793c439dca00e2563d0b7f153c274027b.tar.bz2 linux-cf89160793c439dca00e2563d0b7f153c274027b.zip |
md: Convert to use int_pow()
Instead of linear approach to calculate power of 10, use generic int_pow()
which does it better.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
Diffstat (limited to 'drivers/md/raid10.c')
0 files changed, 0 insertions, 0 deletions