Skip to content

Commit 887bcd5

Browse files
Ramesh Thomasramesh-thomas
authored andcommitted
accel-config: Remove references to unused libudev
Removing references to unused libudev to reduce redundant depencies in the build. Signed-off-by: Ramesh Thomas <[email protected]> Reviewed-by: Dave Jiang <[email protected]>
1 parent 83094b7 commit 887bcd5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

accfg/lib/private.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#include <syslog.h>
1010
#include <string.h>
1111
#include <inttypes.h>
12-
#include <libudev.h>
1312
#include <util/log.h>
1413
#include <uuid/uuid.h>
1514
#include <ccan/list/list.h>
@@ -160,9 +159,4 @@ struct accfg_ctx {
160159
struct accfg_error_ctx *error_ctx;
161160
};
162161

163-
static inline int check_udev(struct udev *udev)
164-
{
165-
return udev ? 0 : -ENXIO;
166-
}
167-
168162
#endif /* _LIBACCFG_PRIVATE_H_ */

0 commit comments

Comments
 (0)