soc/intel/common/block/pcr: Remove unneded 'else'

'else' is not needed after a 'break' or 'return'.

Change-Id: Ib3371ef6edb85a47ed734dd2ff9ce94008aa4e65
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33336
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Vlado Cibic
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Elyes HAOUAS 2019-06-09 13:31:36 +02:00 committed by Patrick Georgi
parent c166071beb
commit 283b438f5c
1 changed files with 3 additions and 4 deletions

View File

@ -394,10 +394,9 @@ int pcr_execute_sideband_msg(struct pcr_sbi_msg *msg, uint32_t *data,
break; break;
} }
return 0; return 0;
} else {
printk(BIOS_ERR, "SBI Failure: Transaction Status = %x\n",
*response);
return -1;
} }
printk(BIOS_ERR, "SBI Failure: Transaction Status = %x\n",
*response);
return -1;
} }
#endif #endif