File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -501,7 +501,7 @@ static void dmz_reclaim_work(struct work_struct *work)
501
501
{
502
502
struct dmz_reclaim * zrc = container_of (work , struct dmz_reclaim , work .work );
503
503
struct dmz_metadata * zmd = zrc -> metadata ;
504
- unsigned int p_unmap , nr_unmap_rnd = 0 , nr_rnd = 0 ;
504
+ unsigned int p_unmap ;
505
505
int ret ;
506
506
507
507
if (dmz_dev_is_dying (zmd ))
@@ -527,9 +527,6 @@ static void dmz_reclaim_work(struct work_struct *work)
527
527
zrc -> kc_throttle .throttle = min (75U , 100U - p_unmap / 2 );
528
528
}
529
529
530
- nr_unmap_rnd = dmz_nr_unmap_rnd_zones (zmd , zrc -> dev_idx );
531
- nr_rnd = dmz_nr_rnd_zones (zmd , zrc -> dev_idx );
532
-
533
530
DMDEBUG ("(%s/%u): Reclaim (%u): %s, %u%% free zones (%u/%u cache %u/%u random)" ,
534
531
dmz_metadata_label (zmd ), zrc -> dev_idx ,
535
532
zrc -> kc_throttle .throttle ,
You can’t perform that action at this time.
0 commit comments