[Accel-config] [PATCH 3/5] accel-config: Remove references to unused libudev

Ramesh Thomas <ramesh.thomas at intel.com> Wed, 01 Dec 2021 18:59:07 -0500
Newsgroups dev.linux.lists.accel-config
Message-ID <[email protected]>
From: Ramesh Thomas <ramesh.thomas(a)linux.intel.com>

Removing references to unused libudev to reduce redundant depencies in
the build.

Signed-off-by: Ramesh Thomas <ramesh.thomas(a)linux.intel.com>
---
 accfg/lib/private.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/accfg/lib/private.h b/accfg/lib/private.h
index cc7bb7e..d3a8bee 100644
--- a/accfg/lib/private.h
+++ b/accfg/lib/private.h
@@ -9,7 +9,6 @@
 #include <syslog.h>
 #include <string.h>
 #include <inttypes.h>
-#include <libudev.h>
 #include <util/log.h>
 #include <uuid/uuid.h>
 #include <ccan/list/list.h>
@@ -160,9 +159,4 @@ struct accfg_ctx {
 	struct accfg_error_ctx *error_ctx;
 };
 
-static inline int check_udev(struct udev *udev)
-{
-	return udev ? 0 : -ENXIO;
-}
-
 #endif /* _LIBACCFG_PRIVATE_H_ */
-- 
2.26.3