diff --git a/board/keymile/common/ivm.c b/board/keymile/common/ivm.c index bffc08be951e0a7c4cdec47f47c8cc48558c0852..b6b19ccb8ea1379b2e0fbed5b86df26e40aa1a1e 100644 --- a/board/keymile/common/ivm.c +++ b/board/keymile/common/ivm.c @@ -120,7 +120,7 @@ static int ivm_findinventorystring(int type, /* Look for the requested number of CR. */ while ((cr != nr) && (addr < INVENTORYDATASIZE)) { - if ((buf[addr] == '\r')) + if (buf[addr] == '\r') cr++; addr++; }