Minor white space tweaks.

This commit is contained in:
Robert Watson 2006-08-13 23:16:59 +00:00
parent e981a4e863
commit b7e2f3ec76
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161264

View File

@ -263,7 +263,6 @@ uipc_attach(struct socket *so, int proto, struct thread *td)
KASSERT(so->so_pcb == NULL, ("uipc_attach: so_pcb != NULL"));
if (so->so_snd.sb_hiwat == 0 || so->so_rcv.sb_hiwat == 0) {
switch (so->so_type) {
case SOCK_STREAM:
error = soreserve(so, unpst_sendspace, unpst_recvspace);
break;
@ -288,8 +287,8 @@ uipc_attach(struct socket *so, int proto, struct thread *td)
UNP_LOCK();
unp->unp_gencnt = ++unp_gencnt;
unp_count++;
LIST_INSERT_HEAD(so->so_type == SOCK_DGRAM ? &unp_dhead
: &unp_shead, unp, unp_link);
LIST_INSERT_HEAD(so->so_type == SOCK_DGRAM ? &unp_dhead : &unp_shead,
unp, unp_link);
UNP_UNLOCK();
return (0);
@ -1059,7 +1058,6 @@ unp_connect2(struct socket *so, struct socket *so2, int req)
KASSERT(unp2 != NULL, ("unp_connect2: unp2 == NULL"));
unp->unp_conn = unp2;
switch (so->so_type) {
case SOCK_DGRAM:
LIST_INSERT_HEAD(&unp2->unp_refs, unp, unp_reflink);
soisconnected(so);