]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm/damon: remove return value from before_terminate callback
authorChangbin Du <changbin.du@gmail.com>
Fri, 5 Nov 2021 20:48:27 +0000 (13:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Nov 2021 20:30:46 +0000 (13:30 -0700)
commit658f9ae761b5965893727dd4edcdad56e5a439bb
tree7c4e4e8cb93b9ee98e04696d3ba219b5698bfdf3
parent0107865541961ee128149c9873996d32143a74d0
mm/damon: remove return value from before_terminate callback

Since the return value of 'before_terminate' callback is never used, we
make it have no return value.

Link: https://lkml.kernel.org/r/20211029005023.8895-1-changbin.du@gmail.com
Signed-off-by: Changbin Du <changbin.du@gmail.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/damon.h
mm/damon/dbgfs.c