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

cvs commit: src/sys/kern subr_bus.c


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 1 Mar 2004 08:57:44 -0800 (PST)

joerg       2004/03/01 08:57:44 PST

DragonFly src repository

  Modified files:
    sys/kern             subr_bus.c 
  Log:
  Make subr_bus.c more consistent with regard to style(9) and itself.
  
  - adjust the 4 space indentation in the oldest parts
  - use return(value) form
  - move returns into the default case of certain switch statements
  - make some pointer checks explicit against NULL
  - reorder device_probe_and_attach to simplify the if's
  - remove unnecessary return; at the end of functions
  
  Revision  Changes    Path
  1.13      +970 -993  src/sys/kern/subr_bus.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_bus.c.diff?r1=1.12&r2=1.13&f=h



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