Remove a redundant operation.