From: Jeff Guo Date: Tue, 16 Oct 2018 11:41:00 +0000 (+0800) Subject: eal/bsd: fix build X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c89fdd8da2f076cd0ec698707162da15f2a93e17;p=dpdk.git 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 Reviewed-by: Ferruh Yigit --- diff --git a/lib/librte_eal/bsdapp/eal/eal_dev.c b/lib/librte_eal/bsdapp/eal/eal_dev.c index 3a3a2a5ed5..255d611e36 100644 --- a/lib/librte_eal/bsdapp/eal/eal_dev.c +++ b/lib/librte_eal/bsdapp/eal/eal_dev.c @@ -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"); -}