diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2018-08-17 15:49:51 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-08-17 16:20:32 -0700 |
commit | 6e018968f8d384d84484eba8e4c90489a25d7095 (patch) | |
tree | 41dcb86fb5b712b48b6e2a7e7dedcdb2d3e157e0 /include/linux/leds-tca6507.h | |
parent | 6cfe57a96ba33139c57056185d5eee9018e3dedc (diff) |
mm/list_lru.c: pass struct list_lru_node* as an argument to __list_lru_walk_one()
__list_lru_walk_one() is invoked with struct list_lru *lru, int nid as
the first two argument. Those two are only used to retrieve struct
list_lru_node. Since this is already done by the caller of the function
for the locking, we can pass struct list_lru_node* directly and avoid
the dance around it.
Link: http://lkml.kernel.org/r/20180716111921.5365-4-bigeasy@linutronix.de
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/leds-tca6507.h')
0 files changed, 0 insertions, 0 deletions