diff options
author | Xin Hao <xhao@linux.alibaba.com> | 2022-03-22 14:50:00 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-03-22 15:57:13 -0700 |
commit | 15423a52cc84e23bc11e4a903cd775adc7c6ab00 (patch) | |
tree | 59b4bfa0a9fcf0e56f343848d34e5d4db1b605dd /fs/splice.c | |
parent | f968c6a4c66ec25e97ca8801eada103abfe9b295 (diff) | |
download | lwn-15423a52cc84e23bc11e4a903cd775adc7c6ab00.tar.gz lwn-15423a52cc84e23bc11e4a903cd775adc7c6ab00.zip |
mm/damon/sysfs: remove repeat container_of() in damon_sysfs_kdamond_release()
In damon_sysfs_kdamond_release(), we have use container_of() to get
"kdamond" pointer, so there no need to get it once again.
Link: https://lkml.kernel.org/r/20220303075314.22502-1-xhao@linux.alibaba.com
Signed-off-by: Xin Hao <xhao@linux.alibaba.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>
Diffstat (limited to 'fs/splice.c')
0 files changed, 0 insertions, 0 deletions