diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/device/device_util.c | 8 | ||||
-rw-r--r-- | src/include/device/device.h | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/device/device_util.c b/src/device/device_util.c index ac2d33cdb9..42dc89a92e 100644 --- a/src/device/device_util.c +++ b/src/device/device_util.c @@ -249,14 +249,6 @@ const char *dev_name(const struct device *dev) return "unknown"; } -const char *bus_path(struct bus *bus) -{ - static char buffer[BUS_PATH_MAX]; - snprintf(buffer, sizeof(buffer), - "%s,%d", dev_path(bus->dev), bus->link_num); - return buffer; -} - /** * Allocate 64 more resources to the free list. * diff --git a/src/include/device/device.h b/src/include/device/device.h index 752e1c02aa..13870513e1 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -189,7 +189,6 @@ void assign_resources(struct bus *bus); const char *dev_name(const struct device *dev); const char *dev_path(const struct device *dev); u32 dev_path_encode(const struct device *dev); -const char *bus_path(struct bus *bus); void dev_set_enabled(struct device *dev, int enable); void disable_children(struct bus *bus); bool dev_is_active_bridge(struct device *dev); |