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:
Michal Privoznik 2022-10-25 10:19:46 +02:00
parent 4a00efe9cb
commit a9db75ad3a
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -21,5 +21,3 @@
#pragma once
#include <libudev.h>
#define DMI_DEVPATH "/sys/devices/virtual/dmi/id"