vhost: cleanup unix socket
[dpdk.git] / lib / librte_vhost / vhost_cuse / vhost-net-cdev.c
index 6b68abf..1ae7c49 100644 (file)
@@ -404,6 +404,15 @@ rte_vhost_driver_register(const char *dev_name)
        return 0;
 }
 
+/**
+ * An empty function for unregister
+ */
+int
+rte_vhost_driver_unregister(const char *dev_name __rte_unused)
+{
+       return 0;
+}
+
 /**
  * The CUSE session is launched allowing the application to receive open,
  * release and ioctl calls.