cvs commit: src/sys/kern subr_bus.c

Joerg Sonnenberger joerg at crater.dragonflybsd.org
Mon Mar 1 08:59:25 PST 2004


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





More information about the Commits mailing list