projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d81931d
)
[PATCH] drivers/md/raid5.c: remove an unused variable
author
Adrian Bunk
<bunk@stusta.de>
Thu, 29 Jun 2006 09:24:34 +0000
(
02:24
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 29 Jun 2006 17:26:21 +0000
(10:26 -0700)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/raid5.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/raid5.c
b/drivers/md/raid5.c
index f920e50ea124dfe9052288f8f526cb314b230249..837ec4eb3d604ce4e01023ccf87d0804ceef7f88 100644
(file)
--- a/
drivers/md/raid5.c
+++ b/
drivers/md/raid5.c
@@
-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;