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_unref(data->mux);
|
||||
data->mux = NULL;
|
||||
goto done;
|
||||
}
|
||||
|
||||
done:
|
||||
g_io_channel_unref(data->device);
|
||||
data->device = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue