summaryrefslogtreecommitdiff
path: root/monitor
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-07-10 15:14:43 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2012-07-11 19:59:52 -0400
commit17f987f6b983b5f87f1317f4fd70ce4387ac458d (patch)
tree5880d24874ed57a1abe01cd8e519b4ff5e6ffb6b /monitor
parent9aec339e36e4047c74a1ebea8afac372234dd9e2 (diff)
downloadgvfs-17f987f6b983b5f87f1317f4fd70ce4387ac458d.tar.gz
udisks2: simplify some code
https://bugzilla.gnome.org/show_bug.cgi?id=676111
Diffstat (limited to 'monitor')
-rw-r--r--monitor/udisks2/gvfsudisks2drive.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/monitor/udisks2/gvfsudisks2drive.c b/monitor/udisks2/gvfsudisks2drive.c
index c57931dd..83173a28 100644
--- a/monitor/udisks2/gvfsudisks2drive.c
+++ b/monitor/udisks2/gvfsudisks2drive.c
@@ -589,13 +589,9 @@ eject_cb (GObject *source_object,
{
gvfs_udisks2_utils_udisks_error_to_gio_error (error);
g_simple_async_result_take_error (data->simple, error);
- g_simple_async_result_complete (data->simple);
- goto out;
}
g_simple_async_result_complete (data->simple);
-
- out:
eject_data_free (data);
}