svn commit: r319640 - head/sys/kern

Gleb Smirnoff glebius at FreeBSD.org
Wed Jun 7 01:21:36 UTC 2017


Author: glebius
Date: Wed Jun  7 01:21:34 2017
New Revision: 319640
URL: https://svnweb.freebsd.org/changeset/base/319640

Log:
  Remove a piece of dead code.

Modified:
  head/sys/kern/uipc_socket.c

Modified: head/sys/kern/uipc_socket.c
==============================================================================
--- head/sys/kern/uipc_socket.c	Tue Jun  6 22:17:55 2017	(r319639)
+++ head/sys/kern/uipc_socket.c	Wed Jun  7 01:21:34 2017	(r319640)
@@ -3575,10 +3575,6 @@ soupcall_set(struct socket *so, int which,
 		panic("soupcall_set: bad which");
 	}
 	SOCKBUF_LOCK_ASSERT(sb);
-#if 0
-	/* XXX: accf_http actually wants to do this on purpose. */
-	KASSERT(sb->sb_upcall == NULL, ("soupcall_set: overwriting upcall"));
-#endif
 	sb->sb_upcall = func;
 	sb->sb_upcallarg = arg;
 	sb->sb_flags |= SB_UPCALL;


More information about the svn-src-head mailing list