summaryrefslogtreecommitdiff
path: root/src/libudev/libudev-device-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libudev/libudev-device-internal.h')
-rw-r--r--src/libudev/libudev-device-internal.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libudev/libudev-device-internal.h b/src/libudev/libudev-device-internal.h
index 18ae7a93f9..b6ecce80e9 100644
--- a/src/libudev/libudev-device-internal.h
+++ b/src/libudev/libudev-device-internal.h
@@ -51,12 +51,3 @@ struct udev_device {
};
struct udev_device *udev_device_new(struct udev *udev);
-
-#define assert_return_errno(expr, r, err) \
- do { \
- if (_unlikely_(!(expr))) { \
- log_assert_failed_return(#expr, __FILE__, __LINE__, __PRETTY_FUNCTION__); \
- errno = err; \
- return (r); \
- } \
- } while (false)