From d28791fa625ab694a966b76e0942327373167f85 Mon Sep 17 00:00:00 2001 From: Shingo Omura Date: Mon, 30 Jun 2025 20:59:13 +0900 Subject: [PATCH] Remove unused sysfsPath's methods Signed-off-by: Shingo Omura --- .../deviceattribute/sysfs_linux.go | 28 ------------------- 1 file changed, 28 deletions(-) diff --git a/staging/src/k8s.io/dynamic-resource-allocation/deviceattribute/sysfs_linux.go b/staging/src/k8s.io/dynamic-resource-allocation/deviceattribute/sysfs_linux.go index 8ad42e5fa97..8baa3154496 100644 --- a/staging/src/k8s.io/dynamic-resource-allocation/deviceattribute/sysfs_linux.go +++ b/staging/src/k8s.io/dynamic-resource-allocation/deviceattribute/sysfs_linux.go @@ -38,31 +38,3 @@ func (s sysfsPath) devices(path string) string { func (s sysfsPath) bus(path string) string { return filepath.Join(string(s), "bus", path) } - -// Commented out for future use or if needed later -// func (s sysfsPath) block(path string) string { -// return filepath.Join(string(s), "block", path) -// } - -// Commented out for future use or if needed later -// func (s sysfsPath) class(path string) string { -// return filepath.Join(string(s), "class", path) -// } - -// Commented out for future use or if needed later -// func (s sysfsPath) dev(path string) string { -// return filepath.Join(string(s), "dev", path) -// } - -// Commented out for future use or if needed later -// func (s sysfsPath) firmware(path string) string { -// return filepath.Join(string(s), "firmware", path) -// } -// func (s sysfsPath) kernel(path string) string { -// return filepath.Join(string(s), "kernel", path) -// } - -// Commented out for future use or if needed later -// func (s sysfsPath) module(path string) string { -// return filepath.Join(string(s), "module", path) -// }