diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2020-08-21 04:29:18 +0300 |
---|---|---|
committer | Song Liu <songliubraving@fb.com> | 2020-09-25 02:44:45 +0300 |
commit | e287308b8388590ad70e8e88d1cc70a4643bacd7 (patch) | |
tree | 1f85ecc3f9cee7ec32d73de5042f8f43349c8ba0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 389125844352c784abf8c186589343466d03cd6a (diff) | |
download | linux-e287308b8388590ad70e8e88d1cc70a4643bacd7.tar.xz |
md: Simplify code with existing definition RESYNC_SECTORS in raid10.c
#define RESYNC_SECTORS (RESYNC_BLOCK_SIZE >> 9)
"RESYNC_BLOCK_SIZE/512" is equal to "RESYNC_BLOCK_SIZE >> 9", replace it
with RESYNC_SECTORS.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions