git: kernel - cleanup some unnecessary casts
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Mar 1 16:14:01 PST 2010
commit a9177e09259408563cf98920483b57f90fda1480
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Mon Mar 1 16:12:26 2010 -0800
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.
Summary of changes:
sys/kern/subr_disk.c | 19 +++++++++++--------
sys/sys/disk.h | 1 -
2 files changed, 11 insertions(+), 9 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a9177e09259408563cf98920483b57f90fda1480
--
DragonFly BSD source repository
More information about the Commits
mailing list