reflog: remove some dead code