Commits

Anonymous committed fb41b98

Delete needless check for NULL. From Michael W. Bombardieri.

no binary changes on i386.

  • Participants
  • Parent commits 3693567

Comments (0)

Files changed (1)

File sys/net/if_ppp.c

-/*	$OpenBSD: if_ppp.c,v 1.66 2012/11/26 20:21:14 markus Exp $	*/
+/*	$OpenBSD: if_ppp.c,v 1.67 2012/11/29 22:56:08 yasuoka Exp $	*/
 /*	$NetBSD: if_ppp.c,v 1.39 1997/05/17 21:11:59 christos Exp $	*/
 
 /*
 	mp = m->m_next;
 	if (mp == NULL)
 	    return;
-	dp = (mp != NULL)? mtod(mp, u_char *): NULL;
+	dp = mtod(mp, u_char *);
     } else {
 	mp = m;
 	dp = mtod(mp, u_char *) + PPP_HDRLEN;