diff options
author | Yu Zhe <yuzhe@nfschina.com> | 2022-04-29 14:37:00 -0700 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-04-29 14:37:00 -0700 |
commit | cef4493f1aaacf797bc4ab0565682ab1143bf580 (patch) | |
tree | 115aaee5c5f9f130dcc8cd8dfdfef605996712fe /mm/damon | |
parent | 4f540f5ab4f22961ea3467cce075d77d255d493c (diff) |
mm/damon: remove unnecessary type castings
Remove unnecessary void* type castings.
Link: https://lkml.kernel.org/r/20220421153056.8474-1-yuzhe@nfschina.com
Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
Cc: SeongJae Park <sj@kernel.org>
Cc: liqiong <liqiong@nfschina.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/damon')
-rw-r--r-- | mm/damon/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/damon/core.c b/mm/damon/core.c index 5ce8d7c867f0..5fe42e47c57b 100644 --- a/mm/damon/core.c +++ b/mm/damon/core.c @@ -1042,7 +1042,7 @@ static int kdamond_wait_activation(struct damon_ctx *ctx) */ static int kdamond_fn(void *data) { - struct damon_ctx *ctx = (struct damon_ctx *)data; + struct damon_ctx *ctx = data; struct damon_target *t; struct damon_region *r, *next; unsigned int max_nr_accesses = 0; |