eal/bsd: fix build

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>
This commit is contained in:
Jeff Guo 2018-10-16 19:41:00 +08:00 committed by Thomas Monjalon
parent cda9441996
commit c89fdd8da2

View File

@ -33,11 +33,3 @@ rte_dev_hotplug_handle_disable(void)
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");
}