mirror of git://git.sysmocom.de/ofono
sim900: Remove unneeded goto / label
This commit is contained in:
parent
b4518caa50
commit
548611e939
|
@ -193,10 +193,8 @@ static void shutdown_device(struct sim900_data *data)
|
||||||
g_at_mux_shutdown(data->mux);
|
g_at_mux_shutdown(data->mux);
|
||||||
g_at_mux_unref(data->mux);
|
g_at_mux_unref(data->mux);
|
||||||
data->mux = NULL;
|
data->mux = NULL;
|
||||||
goto done;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
done:
|
|
||||||
g_io_channel_unref(data->device);
|
g_io_channel_unref(data->device);
|
||||||
data->device = NULL;
|
data->device = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue