diff options
author | Zhen Lei <[email protected]> | 2020-08-21 09:29:18 +0800 |
---|---|---|
committer | Song Liu <[email protected]> | 2020-09-24 16:44:45 -0700 |
commit | e287308b8388590ad70e8e88d1cc70a4643bacd7 (patch) | |
tree | 1f85ecc3f9cee7ec32d73de5042f8f43349c8ba0 /scripts/gdb/linux/modules.py | |
parent | 389125844352c784abf8c186589343466d03cd6a (diff) |
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 <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions