From 5191623149e5f15b869cd103597eb7a26f399bd9 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Fri, 19 Jan 2024 15:40:31 +0100 Subject: device_util: Drop unused function bus_path Signed-off-by: Arthur Heymans Change-Id: Id23a291af20473c3b3e67178b66fcde920d49984 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80097 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held Reviewed-by: Lean Sheng Tan --- src/device/device_util.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/device') 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. * -- cgit v1.2.3