Messages in this thread Patch in this message | | | From | Nhat Pham <> | Subject | [RFC PATCH v2] zswap: memcontrol: mplement zswap writeback disabling (fix) | Date | Thu, 2 Nov 2023 13:58:22 -0700 |
| |
Remove a leftover function from an previous iteration of the patch.
Signed-off-by: Nhat Pham <nphamcs@gmail.com> --- include/linux/memcontrol.h | 6 ------ 1 file changed, 6 deletions(-)
diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h index e3a3a06727dc..7ff55f557bd8 100644 --- a/include/linux/memcontrol.h +++ b/include/linux/memcontrol.h @@ -1621,12 +1621,6 @@ unsigned long mem_cgroup_soft_limit_reclaim(pg_data_t *pgdat, int order, { return 0; } - -static inline bool mem_cgroup_swap_disk_enabled(struct mem_cgroup *memcg) -{ - return false; -} - #endif /* CONFIG_MEMCG */ static inline void __inc_lruvec_kmem_state(void *p, enum node_stat_item idx) -- 2.34.1
| |