svn commit: r335609 - head/sys/netinet

Sean Bruno sbruno at FreeBSD.org
Sun Jun 24 21:36:38 UTC 2018


Author: sbruno
Date: Sun Jun 24 21:36:37 2018
New Revision: 335609
URL: https://svnweb.freebsd.org/changeset/base/335609

Log:
  Reap unused variable and assignment that had no effect.  Noted by cross
  compiling with gcc on mips.
  
  Reviewed by:	mmacy

Modified:
  head/sys/netinet/in_pcb.c

Modified: head/sys/netinet/in_pcb.c
==============================================================================
--- head/sys/netinet/in_pcb.c	Sun Jun 24 21:19:08 2018	(r335608)
+++ head/sys/netinet/in_pcb.c	Sun Jun 24 21:36:37 2018	(r335609)
@@ -1582,11 +1582,9 @@ static void
 in_pcbfree_deferred(epoch_context_t ctx)
 {
 	struct inpcb *inp;
-	struct inpcbinfo *pcbinfo;
 	int released __unused;
 
 	inp = __containerof(ctx, struct inpcb, inp_epoch_ctx);
-	pcbinfo = inp->inp_pcbinfo;
 
 	INP_WLOCK(inp);
 #ifdef INET


More information about the svn-src-head mailing list