[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
1 changed files with 0 additions and 1 deletions
|
@ -2827,7 +2827,6 @@ static inline sector_t sync_request(mddev_t *mddev, sector_t sector_nr, int *ski
|
||||||
struct stripe_head *sh;
|
struct stripe_head *sh;
|
||||||
int pd_idx;
|
int pd_idx;
|
||||||
int raid_disks = conf->raid_disks;
|
int raid_disks = conf->raid_disks;
|
||||||
int data_disks = raid_disks - conf->max_degraded;
|
|
||||||
sector_t max_sector = mddev->size << 1;
|
sector_t max_sector = mddev->size << 1;
|
||||||
int sync_blocks;
|
int sync_blocks;
|
||||||
int still_degraded = 0;
|
int still_degraded = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue