dpif-netdev: Fix a compilation warning
authorAndy Zhou <azhou@nicira.com>
Tue, 25 Mar 2014 04:10:39 +0000 (21:10 -0700)
committerAndy Zhou <azhou@nicira.com>
Tue, 25 Mar 2014 06:00:56 +0000 (23:00 -0700)
commitb8da6cce47501f003c9791054a59a5a6632e4c2c
treec14100c88813cbe50b136055172673fa4aee9aa6
parent8617affff4f6570ef9ebeafe471e7f14a2c630e3
dpif-netdev: Fix a compilation warning

Building OVS tree without DPDK produced the following warning message:
    lib/dpif-netdev.c:1868:5: error: statement with no effect

This error message is complaining the return value of the following
macro not being used.
#define pmd_thread_setaffinity_cpu(c) (0)

The patch fixed this warnning by making the stub functions
as inline funtions.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
lib/netdev-dpdk.h