(no-ticket) unneeded identity comparision

Change-Id: I12124eb46ab801e0376d93e0c5ab76a8fb5e2f03