mirror of https://gitee.com/openkylin/linux.git
[PATCH] drivers/md/raid5.c: remove an unused variable
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
d81931d9a2
commit
cfb9e32f2f
|
@ -2827,7 +2827,6 @@ static inline sector_t sync_request(mddev_t *mddev, sector_t sector_nr, int *ski
|
|||
struct stripe_head *sh;
|
||||
int pd_idx;
|
||||
int raid_disks = conf->raid_disks;
|
||||
int data_disks = raid_disks - conf->max_degraded;
|
||||
sector_t max_sector = mddev->size << 1;
|
||||
int sync_blocks;
|
||||
int still_degraded = 0;
|
||||
|
|
Loading…
Reference in New Issue