From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> rfcomm can only be NULL in this path --- src/profile.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/profile.c b/src/profile.c index f30f4f6..528525a 100644 --- a/src/profile.c +++ b/src/profile.c @@ -1295,10 +1295,6 @@ failed: ext->servers = g_slist_remove(ext->servers, l2cap); ext_io_destroy(l2cap); } - if (rfcomm) { - ext->servers = g_slist_remove(ext->servers, rfcomm); - ext_io_destroy(rfcomm); - } return 0; } -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html