coverity#1038286 Logically dead code

Change-Id: Ibbfdbc4925d185852a2b64304ba0983be43a4caa