diff --git a/pageserver/src/disk_usage_eviction_task.rs b/pageserver/src/disk_usage_eviction_task.rs
index 2142124fb1..381494f6c8 100644
--- a/pageserver/src/disk_usage_eviction_task.rs
+++ b/pageserver/src/disk_usage_eviction_task.rs
@@ -534,35 +534,32 @@ async fn extend_lru_candidates(
lru_candidates.append(scratch);
return ControlFlow::Continue(());
}
- Mode::RespectTenantMinResidentSize => match tenant.get_min_resident_size_override() {
- Some(size) => size,
- None => {
- match max_layer_size {
- Some(size) => size,
- None => {
- if !scratch.is_empty() {
- // soft assert
- warn!("BUG: no maximum layer size, but still found layers");
- scratch.clear();
- }
- return ControlFlow::Continue(());
-
- // let prod_max_layer_file_size = 332_880_000;
- // // rate-limit warning in case above comment is wrong and we're missing `LayerMetadata` for many layers
- // static LAST_WARNED: Mutex