DragonFly BSD
DragonFly commits List (threaded) for 2010-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - cleanup some unnecessary casts


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 1 Mar 2010 16:13:40 -0800 (PST)

commit a9177e09259408563cf98920483b57f90fda1480
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]