mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
node_device: Move DMI_DEVPATH into node_device_udev.c
The DMI_DEVPATH macro is used exclusively within node_device_udev.c. There's no need to expose it. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
@@ -52,6 +52,8 @@ VIR_LOG_INIT("node_device.node_device_udev");
|
||||
# define TYPE_RAID 12
|
||||
#endif
|
||||
|
||||
#define DMI_DEVPATH "/sys/devices/virtual/dmi/id"
|
||||
|
||||
typedef struct _udevEventData udevEventData;
|
||||
struct _udevEventData {
|
||||
virObjectLockable parent;
|
||||
|
||||
@@ -21,5 +21,3 @@
|
||||
#pragma once
|
||||
|
||||
#include <libudev.h>
|
||||
|
||||
#define DMI_DEVPATH "/sys/devices/virtual/dmi/id"
|
||||
|
||||
Reference in New Issue
Block a user