diff options
Diffstat (limited to 'drivers/md/dm-stripe.c')
-rw-r--r-- | drivers/md/dm-stripe.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/dm-stripe.c b/drivers/md/dm-stripe.c index 183db5d3e48e..1f6316ed2b31 100644 --- a/drivers/md/dm-stripe.c +++ b/drivers/md/dm-stripe.c | |||
@@ -132,7 +132,6 @@ static int stripe_ctr(struct dm_target *ti, unsigned int argc, char **argv) | |||
132 | return -EINVAL; | 132 | return -EINVAL; |
133 | } | 133 | } |
134 | 134 | ||
135 | width = ti->len; | ||
136 | if (sector_div(width, stripes)) { | 135 | if (sector_div(width, stripes)) { |
137 | ti->error = "Target length not divisible by " | 136 | ti->error = "Target length not divisible by " |
138 | "number of stripes"; | 137 | "number of stripes"; |