projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e611302
)
md: linear.c: Remove pointless initialization of curr_offset.
author
Andre Noll
<maan@systemlinux.org>
Mon, 13 Oct 2008 00:55:12 +0000
(11:55 +1100)
committer
NeilBrown
<neilb@suse.de>
Mon, 13 Oct 2008 00:55:12 +0000
(11:55 +1100)
Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/linear.c
patch
|
blob
|
history
diff --git
a/drivers/md/linear.c
b/drivers/md/linear.c
index
61a980d
..
632898f
100644
(file)
--- a/
drivers/md/linear.c
+++ b/
drivers/md/linear.c
@@
-218,7
+218,6
@@
static linear_conf_t *linear_conf(mddev_t *mddev, int raid_disks)
conf->disks[i-1].size;
table = conf->hash_table;
- curr_offset = 0;
i = 0;
for (curr_offset = 0;
curr_offset < conf->array_sectors / 2;