mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 06:01:53 +02:00
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>
This commit is contained in:
parent
4f540f5ab4
commit
cef4493f1a
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user