coverity#1078504: Remove logically dead code.

Change-Id: I6bb3ee8f604d9b79209cda13a48ccd7f2df4f26e