HomeFreeBSD

ofw: remove redundant calls in ofwbus_attach()

Description

ofw: remove redundant calls in ofwbus_attach()

Since commit ecaecbc7d8bc212d8e854088106b3b21e631bb52, calling
ofw_bus_gen_setup_devinfo() is redundant, as the call to
device_set_ivars() now happens inside simplebus_add_device().

Reviewed by: markj
Approved by: markj (mentor)
Differential Revision: https://reviews.freebsd.org/D40271

Details

Provenance
christosAuthored on May 25 2023, 8:47 PM
Reviewer
markj
Differential Revision
D40271: ofw: remove redundant calls in ofwbus_attach()
Parents
rG855ade9e722a: kinst: be explicit about trampoline placement
Branches
Unknown
Tags
Unknown