summaryrefslogtreecommitdiff
path: root/src/mainboard/google/reef
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/reef')
-rw-r--r--src/mainboard/google/reef/variants/snappy/mainboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/reef/variants/snappy/mainboard.c b/src/mainboard/google/reef/variants/snappy/mainboard.c
index 950a029459..b34b8e2c92 100644
--- a/src/mainboard/google/reef/variants/snappy/mainboard.c
+++ b/src/mainboard/google/reef/variants/snappy/mainboard.c
@@ -70,8 +70,8 @@ uint8_t variant_board_sku(void)
if ((ch < '0') || (ch > '9')) {
vpd_sku_num = -1;
break;
- } else
- vpd_sku_num = vpd_sku_num * 10 + (ch - '0');
+ }
+ vpd_sku_num = vpd_sku_num * 10 + (ch - '0');
}
if (vpd_sku_num != -1)