OSDN Git Service

gobex: Remove superfluous return statement
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 4 Jul 2011 08:01:59 +0000 (11:01 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 4 Dec 2012 21:21:58 +0000 (22:21 +0100)
gobex/gobex.c

index cd1ad5a..8961625 100644 (file)
@@ -254,8 +254,6 @@ static void enable_tx(GObex *obex)
 
        cond = G_IO_OUT | G_IO_HUP | G_IO_ERR | G_IO_NVAL;
        obex->write_source = g_io_add_watch(obex->io, cond, write_data, obex);
-
-       return;
 }
 
 static gboolean g_obex_send_internal(GObex *obex, struct pending_pkt *p,