[tidy] removed dead code from common.h