Remove a piece of dead code.
This commit is contained in:
parent
63c1ff65d1
commit
b94f68dc52
@ -3575,10 +3575,6 @@ soupcall_set(struct socket *so, int which,
|
|||||||
panic("soupcall_set: bad which");
|
panic("soupcall_set: bad which");
|
||||||
}
|
}
|
||||||
SOCKBUF_LOCK_ASSERT(sb);
|
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_upcall = func;
|
||||||
sb->sb_upcallarg = arg;
|
sb->sb_upcallarg = arg;
|
||||||
sb->sb_flags |= SB_UPCALL;
|
sb->sb_flags |= SB_UPCALL;
|
||||||
|
Loading…
Reference in New Issue
Block a user