32 lines
989 B
Diff
32 lines
989 B
Diff
|
|
From 4111ae4dcc2f9158a8e4e7a9a4787bcc39b3704b Mon Sep 17 00:00:00 2001
|
||
|
|
From: Xu Zheng <xuzheng_yewu@cmss.chinamobile.com>
|
||
|
|
Date: Thu, 24 Nov 2022 10:50:04 +0800
|
||
|
|
Subject: [PATCH 14/23] node_device_udev.h: Drop unused macro
|
||
|
|
|
||
|
|
The SYSFS_DATA_SIZE macro is Unused since its introduction in
|
||
|
|
v0.7.3~48.
|
||
|
|
|
||
|
|
cherry-pick from 4a00efe9cb3b60c8729b4262440747db17356f32
|
||
|
|
|
||
|
|
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
|
||
|
|
Signed-off-by: Xu Zheng <xuzheng_yewu@cmss.chinamobile.com>
|
||
|
|
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
|
||
|
|
---
|
||
|
|
src/node_device/node_device_udev.h | 1 -
|
||
|
|
1 file changed, 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/src/node_device/node_device_udev.h b/src/node_device/node_device_udev.h
|
||
|
|
index 996677dfe0..6d796fb0dd 100644
|
||
|
|
--- a/src/node_device/node_device_udev.h
|
||
|
|
+++ b/src/node_device/node_device_udev.h
|
||
|
|
@@ -22,6 +22,5 @@
|
||
|
|
|
||
|
|
#include <libudev.h>
|
||
|
|
|
||
|
|
-#define SYSFS_DATA_SIZE 4096
|
||
|
|
#define DMI_DEVPATH "/sys/devices/virtual/dmi/id"
|
||
|
|
#define DMI_DEVPATH_FALLBACK "/sys/class/dmi/id"
|
||
|
|
--
|
||
|
|
2.27.0
|
||
|
|
|