Merge "common/compute.py: remove some useless code"