From 5fc3fa8f991ebb8b7a5e7d9edfc744ced3a5ef9b Mon Sep 17 00:00:00 2001
From: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
Date: Fri, 12 Jul 2013 14:04:44 -0400
Subject: [PATCH] * #27201: libiax: remove redundant NULL check

---
 daemon/libs/iax2/iax.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/daemon/libs/iax2/iax.c b/daemon/libs/iax2/iax.c
index 08f6247cb7..ef2628e856 100644
--- a/daemon/libs/iax2/iax.c
+++ b/daemon/libs/iax2/iax.c
@@ -564,7 +564,7 @@ static int calc_timestamp(struct iax_session *session, unsigned int ts, struct a
 	   special cases.  */
 	if (ts)
 	{
-		if ( f && session )
+		if ( f )
 			session->lastsent = ts;
 		return ts;
 	}
-- 
GitLab