projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f540f5
)
mm/damon: remove unnecessary type castings
author
Yu Zhe
<yuzhe@nfschina.com>
Fri, 29 Apr 2022 21:37:00 +0000
(14:37 -0700)
committer
akpm
<akpm@linux-foundation.org>
Fri, 29 Apr 2022 21:37:00 +0000
(14:37 -0700)
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>
mm/damon/core.c
patch
|
blob
|
history
diff --git
a/mm/damon/core.c
b/mm/damon/core.c
index 5ce8d7c867f0410de06a32b769ed0f49ca5316fb..5fe42e47c57bd7314cf1706e1d8ed7739babbac2 100644
(file)
--- 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;