diff --git a/common/phones/atgen.c b/common/phones/atgen.c index 81d585d6..513d600c 100644 --- a/common/phones/atgen.c +++ b/common/phones/atgen.c @@ -3311,8 +3311,6 @@ static gn_error Initialise(gn_data *setupdata, struct gn_statemachine *state) */ if (!state->config.connect_script[0]) { ret = SoftReset(&data, state); - if (ret) - goto out; } /* * These might be done in the connect script as well, but gnokii @@ -3341,8 +3339,6 @@ static gn_error Initialise(gn_data *setupdata, struct gn_statemachine *state) goto out; data.manufacturer = manufacturer; ret = state->driver.functions(GN_OP_GetManufacturer, &data, state); - if (ret) - goto out; dprintf("Manufacturer: \"%s\"\n", manufacturer); if (!at_manufacturer_compare("bosch"))