summaryrefslogtreecommitdiff
path: root/src/device/device_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/device_util.c')
-rw-r--r--src/device/device_util.c8
1 files changed, 0 insertions, 8 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.
*