From 01e94792e7436e89e55f043982e9446e0759bf25 Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Fri, 18 May 2012 16:59:26 -0700 Subject: Clean up debug commands to use less space BUG=none TEST=(run the commands) Change-Id: I6ed4aee169311825190bcc386b86cdc32ba0866a Signed-off-by: Randall Spangler --- chip/lm4/clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chip/lm4/clock.c') diff --git a/chip/lm4/clock.c b/chip/lm4/clock.c index aaa2e9403c..e709fa0b62 100644 --- a/chip/lm4/clock.c +++ b/chip/lm4/clock.c @@ -214,7 +214,7 @@ static int command_pll(int argc, char **argv) /* Disable PLL and set extra divider */ char *e; div = strtoi(argv[1], &e, 10); - if (e && *e) + if (*e) return EC_ERROR_INVAL; LM4_SYSTEM_RCC = LM4_SYSTEM_RCC_SYSDIV(div - 1) | -- cgit v1.2.1