Fix unnecessary NULL checks
diff --git a/audio/gsta2dpsink.c b/audio/gsta2dpsink.c
index 0753f38..0a2b5b7 100644
--- a/audio/gsta2dpsink.c
+++ b/audio/gsta2dpsink.c
@@ -143,8 +143,7 @@
 	return NULL;
 
 cleanup_and_fail:
-	if (element != NULL)
-		g_object_unref(G_OBJECT(element));
+	g_object_unref(G_OBJECT(element));
 
 	return NULL;
 }
diff --git a/audio/unix.c b/audio/unix.c
index c28c3ea..00435ee 100644
--- a/audio/unix.c
+++ b/audio/unix.c
@@ -658,8 +658,7 @@
 			struct unix_client *c = cl->data;
 			struct a2dp_data *ca2dp = &c->d.a2dp;
 
-			if (ca2dp && ca2dp->session == session &&
-					c->seid == seid) {
+			if (ca2dp->session == session && c->seid == seid) {
 				lock = c->lock;
 				break;
 			}
diff --git a/lib/sdp.c b/lib/sdp.c
index f15d367..b301754 100644
--- a/lib/sdp.c
+++ b/lib/sdp.c
@@ -2026,7 +2026,7 @@
 		sdp_data_t *pCode = curr_data;
 		sdp_data_t *pEncoding = pCode->next;
 		sdp_data_t *pOffset = pEncoding->next;
-		if (pCode && pEncoding && pOffset) {
+		if (pEncoding && pOffset) {
 			lang = malloc(sizeof(sdp_lang_attr_t));
 			lang->code_ISO639 = pCode->val.uint16;
 			lang->encoding = pEncoding->val.uint16;