uipc: Nuke unnecessary void cast
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 18 Jun 2014 13:32:00 +0000 (21:32 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 18 Jun 2014 13:32:00 +0000 (21:32 +0800)
sys/kern/uipc_msg.c

index ce00aac..dba0eb9 100644 (file)
@@ -68,7 +68,7 @@ so_pru_abort(struct socket *so)
 
        netmsg_init(&msg.base, so, &curthread->td_msgport,
                    0, so->so_proto->pr_usrreqs->pru_abort);
-       (void)lwkt_domsg(so->so_port, &msg.base.lmsg, 0);
+       lwkt_domsg(so->so_port, &msg.base.lmsg, 0);
        sofree(msg.base.nm_so);
 }