Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Dec 1999 08:30:25 -0800 (PST)
From:      Nick Hibma <n_hibma@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern subr_bus.c
Message-ID:  <199912021630.IAA10268@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
n_hibma     1999/12/02 08:30:25 PST

  Modified files:
    sys/kern             subr_bus.c 
  Log:
  Remove check for attached state.
  
     sc = devclass_get_softc(devclass, unit);
  
  doesn't return NULL during attach anymore, and produces the sc,
  identical to (for devclass_get_unit(devclass, unit) != NULL that is):
  
     sc = device_get_softc(devclass_get_unit(devclass, unit));
  
  Reviewed-by:   dfr
  
  Revision  Changes    Path
  1.48      +1 -4      src/sys/kern/subr_bus.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912021630.IAA10268>