diff options
author | Kevin Corry <kevcorry@us.ibm.com> | 2006-03-27 13:18:01 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-27 20:45:00 +0400 |
commit | a22c96c737a9cefbe8d6e991c0032ad6db825a67 (patch) | |
tree | 95a19ae05a86e9ecf29fd2aa0747c0af2266d728 /drivers/md | |
parent | b4cf1b72eec0e197257a5b07dc9ec53552cdd123 (diff) | |
download | linux-a22c96c737a9cefbe8d6e991c0032ad6db825a67.tar.xz |
[PATCH] dm: remove unnecessary typecast
Signed-off-by: Kevin Corry <kevcorry@us.ibm.com>
Cc: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/dm-stripe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-stripe.c b/drivers/md/dm-stripe.c index 204f796ee9e3..08328a8f5a3c 100644 --- a/drivers/md/dm-stripe.c +++ b/drivers/md/dm-stripe.c @@ -103,7 +103,7 @@ static int stripe_ctr(struct dm_target *ti, unsigned int argc, char **argv) return -EINVAL; } - if (((uint32_t)ti->len) & (chunk_size - 1)) { + if (ti->len & (chunk_size - 1)) { ti->error = "dm-stripe: Target length not divisible by " "chunk size"; return -EINVAL; |