[lib] remove redundant code, as oe-a1.0 has own branch.