[ovs-dev,V3,3/3] acinclude: Omit unnecessary define

Message ID 20190207065230.31962-4-elibr@mellanox.com
State Superseded
Delegated to: Ian Stokes
Headers show
Series
  • Include libverbs and libmlx4/5 when needed
Related show

Commit Message

Eli Britstein Feb. 7, 2019, 6:52 a.m.
Commit fc3b425fa02f ("acinclude: Include libmnl when needed") added
unnecessary include of DPDK_MNL. Omit it.

Fixes: fc3b425fa02f ("acinclude: Include libmnl when needed")
Signed-off-by: Eli Britstein <elibr@mellanox.com>
---
 acinclude.m4 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch

diff --git a/acinclude.m4 b/acinclude.m4
index ec0c235cc..44e9770d2 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -297,8 +297,7 @@  AC_DEFUN([OVS_CHECK_DPDK], [
         ], [])
       ], [],
       [AC_SEARCH_LIBS([mnl_attr_put],[mnl],[],[AC_MSG_ERROR([unable to find libmnl, install the dependency package])])
-       DPDK_EXTRA_LIB="-lmnl"
-       AC_DEFINE([DPDK_MNL], [1], [MLX5 PMD detected in DPDK.])])
+       DPDK_EXTRA_LIB="-lmnl"])
 
     AC_COMPILE_IFELSE([
       AC_LANG_PROGRAM(