diff mbox

[ovs-dev,v2,01/14] tnl-ports: remove unused tnl-arp-cache.h and include other necessary headers

Message ID 1448458277-28154-2-git-send-email-cascardo@redhat.com
State Accepted
Headers show

Commit Message

Thadeu Lima de Souza Cascardo Nov. 25, 2015, 1:31 p.m. UTC
tnl-ports.c did not use anything from tnl-arp-cache.h besides some other headers
that the latter included, like system string.h and OVS netdev.h.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
---
 lib/tnl-ports.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Ben Pfaff Nov. 30, 2015, 6:03 p.m. UTC | #1
On Wed, Nov 25, 2015 at 11:31:04AM -0200, Thadeu Lima de Souza Cascardo wrote:
> tnl-ports.c did not use anything from tnl-arp-cache.h besides some other headers
> that the latter included, like system string.h and OVS netdev.h.
> 
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>

Applied, thanks!
diff mbox

Patch

diff --git a/lib/tnl-ports.c b/lib/tnl-ports.c
index 77cf5bb..2d14811 100644
--- a/lib/tnl-ports.c
+++ b/lib/tnl-ports.c
@@ -20,15 +20,16 @@ 
 
 #include <stddef.h>
 #include <stdint.h>
+#include <string.h>
 
 #include "classifier.h"
 #include "dynamic-string.h"
 #include "hash.h"
 #include "list.h"
+#include "netdev.h"
 #include "ofpbuf.h"
 #include "ovs-thread.h"
 #include "odp-util.h"
-#include "tnl-arp-cache.h"
 #include "ovs-thread.h"
 #include "unixctl.h"
 #include "util.h"