coverity#1212509 Logically dead code

this look very wrong, surely this is what was meant

Change-Id: I461fc1a67770c733aee2f4379dcc252abd09b641