Remove a redundant assignment