sparse: workaround for a bug in sparse.
authorPritesh Kothari <pritesh.kothari@cisco.com>
Fri, 28 Mar 2014 19:20:00 +0000 (12:20 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 28 Mar 2014 21:40:07 +0000 (14:40 -0700)
commit5794e276b48638c7e44a763481aa051111de1676
treed574cb741bb19f54922d7ea2bce06ba5cd91efa6
parent8605a29b26ceb7dd6ae001b70ffcf158aab406ee
sparse: workaround for a bug in sparse.

sparse emits the following warning:
lib/dpif-netdev.c:1755:15: warning: Initializer entry defined twice
lib/dpif-netdev.c:1755:15:   also defined here
due to a bug in sparse which doesn't like inlined functions which
expands a #define within it. This commit removes inline to make
sparse happy.

Signed-off-by: Pritesh Kothari <pritesh.kothari@cisco.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/dpif-netdev.c