diff options
author | Yu Zhe <yuzhe@nfschina.com> | 2023-03-17 09:35:54 +0800 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2023-04-11 12:01:01 -0400 |
commit | 26cb62a285802ab6d26cdbf11305cd8516871d1a (patch) | |
tree | e2d159fc24d591e2404b836d6c78f3004b9fcb99 /drivers/md/dm-snap-persistent.c | |
parent | 990f61e43c4d3235486707568edf59d67488a575 (diff) | |
download | linux-stable-26cb62a285802ab6d26cdbf11305cd8516871d1a.tar.gz linux-stable-26cb62a285802ab6d26cdbf11305cd8516871d1a.tar.bz2 linux-stable-26cb62a285802ab6d26cdbf11305cd8516871d1a.zip |
dm: remove unnecessary (void*) conversions
Pointer variables of void * type do not require type cast.
Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md/dm-snap-persistent.c')
-rw-r--r-- | drivers/md/dm-snap-persistent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-snap-persistent.c b/drivers/md/dm-snap-persistent.c index f14e5df27874..15649921f2a9 100644 --- a/drivers/md/dm-snap-persistent.c +++ b/drivers/md/dm-snap-persistent.c @@ -567,7 +567,7 @@ ret_destroy_bufio: static struct pstore *get_info(struct dm_exception_store *store) { - return (struct pstore *) store->context; + return store->context; } static void persistent_usage(struct dm_exception_store *store, |