kernel - cleanup some unnecessary casts
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 2 Mar 2010 00:12:26 +0000 (16:12 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 2 Mar 2010 00:12:26 +0000 (16:12 -0800)
commita9177e09259408563cf98920483b57f90fda1480
treee63a31dcfab82ca59fd5f94b33edbdef885c0022
parent8d496bf981b2cacb9c21ccdb66a9991978c986ea
kernel - cleanup some unnecessary casts

* Adjust disk_msg_core() and friends to not make unnecessasry casts
  when playing with LWKT messages.

* In disk_msg_send_sync() call lwkt_waitmsg() instead of lwkt_waitport(),
  which cleans up the code flow a bit.
sys/kern/subr_disk.c
sys/sys/disk.h