Remove unnecessary get/set current partition.