diff options
-rw-r--r-- | src/ec/google/chromeec/ec_lpc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ec/google/chromeec/ec_lpc.c b/src/ec/google/chromeec/ec_lpc.c index 7293cffcd3..b7d183ebb0 100644 --- a/src/ec/google/chromeec/ec_lpc.c +++ b/src/ec/google/chromeec/ec_lpc.c @@ -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) |