Remove redundant assignment