diff options
author | Denis Kenzior <denkenz@gmail.com> | 2013-03-26 10:35:59 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2013-03-26 10:35:59 -0500 |
commit | 548611e93948902ccffaf5568dcd31bef1d4f764 (patch) | |
tree | f895ec3753a2488f1e4c544522e7bf98dba92d83 /plugins | |
parent | b4518caa50f03b40e9f9434dc17558665bb8ee3f (diff) | |
download | ofono-548611e93948902ccffaf5568dcd31bef1d4f764.tar.bz2 |
sim900: Remove unneeded goto / label
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sim900.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/sim900.c b/plugins/sim900.c index 52fc38de..3a9ac37b 100644 --- a/plugins/sim900.c +++ b/plugins/sim900.c @@ -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; } |