ec/google/chromeec/ec_lpc: Remove unneeded 'else'
'else' is not needed after a 'break' or 'return'. Change-Id: I98d0ab0d139186b312e8c1086c475ba6ef0b7d3b Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33333 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
561e11d6f8
commit
b53427156c
|
@ -188,11 +188,9 @@ static int google_chromeec_command_version(void)
|
|||
return EC_HOST_CMD_FLAG_VERSION_3;
|
||||
} else if (flags & EC_HOST_CMD_FLAG_LPC_ARGS_SUPPORTED) {
|
||||
return EC_HOST_CMD_FLAG_LPC_ARGS_SUPPORTED;
|
||||
} else {
|
||||
printk(BIOS_ERR,
|
||||
"Chromium EC command version unsupported\n");
|
||||
return -1;
|
||||
}
|
||||
printk(BIOS_ERR, "Chromium EC command version unsupported\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
static int google_chromeec_command_v3(struct chromeec_command *cec_command)
|
||||
|
|
Loading…
Reference in New Issue