cid#735557 Logically dead code

Change-Id: I0f6851a4ce5c02ea48110bdb8ed47cdb15853917
cid#1209201 Logically dead code

Change-Id: I8a7a9e23ad33f0c62813ae4ebd84cece3fe75283
cid#1247616 Logically dead code

Change-Id: I2577bf1d61c24f78070de409c285c8e36dddb3d6