We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78a5acf commit 8f52fd7Copy full SHA for 8f52fd7
kernel/cgroup/dmem.c
@@ -299,7 +299,7 @@ bool dmem_cgroup_state_evict_valuable(struct dmem_cgroup_pool_state *limit_pool,
299
bool ignore_low, bool *ret_hit_low)
300
{
301
struct dmem_cgroup_pool_state *pool = test_pool;
302
- struct page_counter *climit, *ctest;
+ struct page_counter *ctest;
303
u64 used, min, low;
304
305
/* Can always evict from current pool, despite limits */
@@ -324,7 +324,6 @@ bool dmem_cgroup_state_evict_valuable(struct dmem_cgroup_pool_state *limit_pool,
324
{}
325
}
326
327
- climit = &limit_pool->cnt;
328
ctest = &test_pool->cnt;
329
330
dmem_cgroup_calculate_protection(limit_pool, test_pool);
0 commit comments