summaryrefslogtreecommitdiffhomepage
path: root/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'device.h')
-rw-r--r--device.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/device.h b/device.h
index 0d9e6f4..c0b112d 100644
--- a/device.h
+++ b/device.h
@@ -148,12 +148,7 @@ void device_release(struct device_user *dep);
int device_check_state(struct device *dev);
void device_dump_status(struct blob_buf *b, struct device *dev);
-static inline void
-device_free(struct device *dev)
-{
- dev->type->free(dev);
-}
-
+void device_free(struct device *dev);
void device_free_unused(struct device *dev);
struct device *get_vlan_device_chain(const char *ifname, bool create);