]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ofw: remove redundant calls in ofwbus_attach()
authorChristos Margiolis <christos@FreeBSD.org>
Thu, 25 May 2023 20:47:41 +0000 (23:47 +0300)
committerChristos Margiolis <christos@FreeBSD.org>
Thu, 25 May 2023 20:47:41 +0000 (23:47 +0300)
commit9105ba047181a5b4a04046557d41849c92d6a787
tree509eaa8427ddab134ab55059b84675aba62e7c55
parent855ade9e722a5c3f7363f5f78798bdfedadb1005
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
sys/dev/ofw/ofwbus.c