When compiling on FreeBSD, a warning/error is thrown for
unused parameter. This patch aim to fix the issue by delete
the useless func definition.
Fixes:
89ecd110524d ("eal: modify device event process function")
Signed-off-by: Jeff Guo <jia.guo@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
RTE_LOG(ERR, EAL, "Device event is not supported for FreeBSD\n");
return -1;
}
-
-void __rte_experimental
-rte_dev_event_callback_process(const char *device_name,
- enum rte_dev_event_type event)
-{
- RTE_LOG(ERR, EAL,
- "Device event callback process is not supported for FreeBSD.\n");
-}