diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2010-03-08 16:02:40 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-05-18 15:27:46 +1000 |
commit | 7b92813c3c0b6990f14838e3985fb385d2655d0c (patch) | |
tree | c072a6684185f2c18734e704c488953250e8353a /drivers/md/multipath.c | |
parent | 696fcd535b5a8cfc0617e9cf1d9d69a13895cc1e (diff) | |
download | linux-7b92813c3c0b6990f14838e3985fb385d2655d0c.tar.gz linux-7b92813c3c0b6990f14838e3985fb385d2655d0c.tar.bz2 linux-7b92813c3c0b6990f14838e3985fb385d2655d0c.zip |
drivers/md: Remove unnecessary casts of void *
void pointers do not need to be cast to other pointer types.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/multipath.c')
-rw-r--r-- | drivers/md/multipath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/multipath.c b/drivers/md/multipath.c index 5558ebc705c8..97befd5cc0e3 100644 --- a/drivers/md/multipath.c +++ b/drivers/md/multipath.c @@ -84,7 +84,7 @@ static void multipath_end_bh_io (struct multipath_bh *mp_bh, int err) static void multipath_end_request(struct bio *bio, int error) { int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); - struct multipath_bh * mp_bh = (struct multipath_bh *)(bio->bi_private); + struct multipath_bh *mp_bh = bio->bi_private; multipath_conf_t *conf = mp_bh->mddev->private; mdk_rdev_t *rdev = conf->multipaths[mp_bh->path].rdev; |