Remove redundant links