summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2024-01-19 15:40:31 +0100
committerLean Sheng Tan <sheng.tan@9elements.com>2024-01-21 13:18:15 +0000
commit5191623149e5f15b869cd103597eb7a26f399bd9 (patch)
tree551b14a1cf9a1a760cb5ba0aaca73327740a2f7c /src/device
parent4d3aa60ac769e38cc24b690dbd371bc1391e4084 (diff)
device_util: Drop unused function bus_path
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: Id23a291af20473c3b3e67178b66fcde920d49984 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80097 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Diffstat (limited to 'src/device')
-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.
*