From eb904c5817c0d9bd111bb9ae97efffb5a1520ada Mon Sep 17 00:00:00 2001 From: "Peter (Stig) Edwards" Date: Tue, 26 Jun 2018 10:16:01 +0100 Subject: Remove unused variable: pool_high pool_high was added in https://github.com/memcached/memcached/commit/e4caa1917b17f599603c29d4af58a68e73a1f428 , and the use of it was removed in https://github.com/memcached/memcached/commit/aa552fed9d9cffd10197bb3b2a62ad82ece62d5b#diff-b43c9d46afe4cc3ee89f2f819428a082 . As reported on https://lgtm.com/projects/g/memcached/memcached/alerts/?mode=list --- scripts/memcached-automove-extstore | 1 - 1 file changed, 1 deletion(-) (limited to 'scripts') diff --git a/scripts/memcached-automove-extstore b/scripts/memcached-automove-extstore index 4e4e72e..2bb0e35 100755 --- a/scripts/memcached-automove-extstore +++ b/scripts/memcached-automove-extstore @@ -85,7 +85,6 @@ def determine_move(history, stats, diffs, memfree): print("global pool: [{}]".format(stats['slab_global_page_pool'])) pool_low = window_key_check(history, 'slab_pool_low') - pool_high = window_key_check(history, 'slab_pool_high') for sid, slab in diffs.items(): small_slab = False free_enough = False -- cgit v1.2.1