summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiraj Razick <siraj.razick@collabora.co.uk>2012-03-25 12:43:09 -0400
committerSiraj Razick <siraj.razick@collabora.co.uk>2012-03-26 10:31:35 -0400
commit3386256c58474da4a324b540a20c0f17d773ac2d (patch)
tree3386d63a5ea8dcf53e8e9679b5c94a8d3908834c
parent51f7d9869d2fcb29f588fe7ba6c1954edbc08e9a (diff)
downloadtelepathy-salut-3386256c58474da4a324b540a20c0f17d773ac2d.tar.gz
bonjour-discovery-client: Remove redundant checks in drop_svc
The hash tables are never null since they are initiliazed in init.
-rw-r--r--src/bonjour-discovery-client.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/bonjour-discovery-client.c b/src/bonjour-discovery-client.c
index 00b705a2..fc9beaeb 100644
--- a/src/bonjour-discovery-client.c
+++ b/src/bonjour-discovery-client.c
@@ -343,12 +343,6 @@ salut_bonjour_discovery_client_drop_svc_ref (SalutBonjourDiscoveryClient *self,
SALUT_BONJOUR_DISCOVERY_CLIENT_GET_PRIVATE (self);
gpointer channel = NULL;
- if (!priv->svc_ref_table)
- return;
-
- if (!priv->svc_source_table)
- return;
-
if (!g_hash_table_lookup_extended (
priv->svc_ref_table, service, NULL, &channel))
return;