From 548611e93948902ccffaf5568dcd31bef1d4f764 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 26 Mar 2013 10:35:59 -0500 Subject: sim900: Remove unneeded goto / label --- plugins/sim900.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugins/sim900.c') 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; } -- cgit v1.2.3