diff options
author | Yu Zhe <yuzhe@nfschina.com> | 2022-03-31 03:34:08 -0700 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-05-16 17:03:11 +0200 |
commit | 0d031dc4aa05819beb8b9188f4306a3f2bc17f55 (patch) | |
tree | 72f5e3a29736401fc2cbfa46fda812acd6b2a77c /fs/btrfs/check-integrity.c | |
parent | 1a42daab11d39f567bb2c6b2b7e551e73abb3512 (diff) | |
download | lwn-0d031dc4aa05819beb8b9188f4306a3f2bc17f55.tar.gz lwn-0d031dc4aa05819beb8b9188f4306a3f2bc17f55.zip |
btrfs: remove unnecessary type casts
Explicit type casts are not necessary when it's void* to another pointer
type.
Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/check-integrity.c')
-rw-r--r-- | fs/btrfs/check-integrity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/check-integrity.c b/fs/btrfs/check-integrity.c index abac86a75840..62eb149aac98 100644 --- a/fs/btrfs/check-integrity.c +++ b/fs/btrfs/check-integrity.c @@ -2033,7 +2033,7 @@ continue_loop: static void btrfsic_bio_end_io(struct bio *bp) { - struct btrfsic_block *block = (struct btrfsic_block *)bp->bi_private; + struct btrfsic_block *block = bp->bi_private; int iodone_w_error; /* mutex is not held! This is not save if IO is not yet completed |