diff --git a/chipset_enable.c b/chipset_enable.c index 4b28924e7..b689aec84 100644 --- a/chipset_enable.c +++ b/chipset_enable.c @@ -151,7 +151,7 @@ static int enable_flash_sis501(struct pci_dev *dev, const char *name) tmp &= (~0x20); tmp |= 0x4; sio_write(0x22, 0x70, tmp); - + return ret; } diff --git a/flashrom.c b/flashrom.c index c41801a96..59a7531f1 100644 --- a/flashrom.c +++ b/flashrom.c @@ -654,7 +654,6 @@ char *extract_param(const char *const *haystack, const char *needle, const char return NULL; /* Needle followed by '='? */ if (param_pos[needlelen] == '=') { - /* Beginning of the string? */ if (param_pos == *haystack) break;