From 3e6c955de6fc7c50ea30ee9ea2148c6734e5df11 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 6 Nov 2012 13:15:44 -0800 Subject: [PATCH] Remove useless use of . These files #included but didn't ever use assert. Signed-off-by: Ben Pfaff Acked-by: Ethan Jackson --- lib/ofp-util.h | 1 - lib/packets.c | 1 - lib/sat-math.h | 1 - lib/stream-fd.c | 1 - lib/stream-unix.c | 1 - lib/tag.h | 3 +-- lib/vconn-stream.c | 3 +-- ovsdb/ovsdb-client.c | 1 - ovsdb/ovsdb-server.c | 1 - vswitchd/ovs-vswitchd.c | 1 - 10 files changed, 2 insertions(+), 12 deletions(-) diff --git a/lib/ofp-util.h b/lib/ofp-util.h index f8c4260fe..77162bf29 100644 --- a/lib/ofp-util.h +++ b/lib/ofp-util.h @@ -17,7 +17,6 @@ #ifndef OFP_UTIL_H #define OFP_UTIL_H 1 -#include #include #include #include diff --git a/lib/packets.c b/lib/packets.c index 812d1af93..73dfcdc2e 100644 --- a/lib/packets.c +++ b/lib/packets.c @@ -16,7 +16,6 @@ #include #include "packets.h" -#include #include #include #include diff --git a/lib/sat-math.h b/lib/sat-math.h index f4287fc25..3d1c50bdc 100644 --- a/lib/sat-math.h +++ b/lib/sat-math.h @@ -17,7 +17,6 @@ #ifndef SAT_MATH_H #define SAT_MATH_H 1 -#include #include /* Saturating addition: overflow yields UINT_MAX. */ diff --git a/lib/stream-fd.c b/lib/stream-fd.c index f7e1234a0..1b16f3e50 100644 --- a/lib/stream-fd.c +++ b/lib/stream-fd.c @@ -16,7 +16,6 @@ #include #include "stream-fd.h" -#include #include #include #include diff --git a/lib/stream-unix.c b/lib/stream-unix.c index 6dee17d7b..6ed7648bc 100644 --- a/lib/stream-unix.c +++ b/lib/stream-unix.c @@ -16,7 +16,6 @@ #include #include "stream.h" -#include #include #include #include diff --git a/lib/tag.h b/lib/tag.h index 2050de0b2..9d6b4aab1 100644 --- a/lib/tag.h +++ b/lib/tag.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2011 Nicira, Inc. + * Copyright (c) 2008, 2011, 2012 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,7 +17,6 @@ #ifndef TAG_H #define TAG_H 1 -#include #include #include #include "util.h" diff --git a/lib/vconn-stream.c b/lib/vconn-stream.c index 38ce37477..613b92cfb 100644 --- a/lib/vconn-stream.c +++ b/lib/vconn-stream.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2010, 2011 Nicira, Inc. + * Copyright (c) 2008, 2009, 2010, 2011, 2012 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,7 +15,6 @@ */ #include -#include #include #include #include diff --git a/ovsdb/ovsdb-client.c b/ovsdb/ovsdb-client.c index d5d2189ed..37bd1aa2f 100644 --- a/ovsdb/ovsdb-client.c +++ b/ovsdb/ovsdb-client.c @@ -16,7 +16,6 @@ #include -#include #include #include #include diff --git a/ovsdb/ovsdb-server.c b/ovsdb/ovsdb-server.c index 6032d7320..2657e2641 100644 --- a/ovsdb/ovsdb-server.c +++ b/ovsdb/ovsdb-server.c @@ -15,7 +15,6 @@ #include -#include #include #include #include diff --git a/vswitchd/ovs-vswitchd.c b/vswitchd/ovs-vswitchd.c index 84e5ad113..9736b79e0 100644 --- a/vswitchd/ovs-vswitchd.c +++ b/vswitchd/ovs-vswitchd.c @@ -15,7 +15,6 @@ #include -#include #include #include #include -- 2.43.0