diff options
author | Ben Pfaff <blp@nicira.com> | 2012-11-06 13:15:44 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2013-01-16 16:03:55 -0800 |
commit | 3e6c955de6fc7c50ea30ee9ea2148c6734e5df11 (patch) | |
tree | 7003b6f31863243af1658b04760029bbc390fa2a | |
parent | cb22974d773942d66da42b700b8bca0db27a0920 (diff) |
Remove useless use of <assert.h>.
These files #included <assert.h> but didn't ever use assert.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
-rw-r--r-- | lib/ofp-util.h | 1 | ||||
-rw-r--r-- | lib/packets.c | 1 | ||||
-rw-r--r-- | lib/sat-math.h | 1 | ||||
-rw-r--r-- | lib/stream-fd.c | 1 | ||||
-rw-r--r-- | lib/stream-unix.c | 1 | ||||
-rw-r--r-- | lib/tag.h | 3 | ||||
-rw-r--r-- | lib/vconn-stream.c | 3 | ||||
-rw-r--r-- | ovsdb/ovsdb-client.c | 1 | ||||
-rw-r--r-- | ovsdb/ovsdb-server.c | 1 | ||||
-rw-r--r-- | 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 f8c4260f..77162bf2 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 <assert.h> #include <stdbool.h> #include <stddef.h> #include <stdint.h> diff --git a/lib/packets.c b/lib/packets.c index 812d1af9..73dfcdc2 100644 --- a/lib/packets.c +++ b/lib/packets.c @@ -16,7 +16,6 @@ #include <config.h> #include "packets.h" -#include <assert.h> #include <arpa/inet.h> #include <sys/socket.h> #include <netinet/in.h> diff --git a/lib/sat-math.h b/lib/sat-math.h index f4287fc2..3d1c50bd 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 <assert.h> #include <limits.h> /* Saturating addition: overflow yields UINT_MAX. */ diff --git a/lib/stream-fd.c b/lib/stream-fd.c index f7e1234a..1b16f3e5 100644 --- a/lib/stream-fd.c +++ b/lib/stream-fd.c @@ -16,7 +16,6 @@ #include <config.h> #include "stream-fd.h" -#include <assert.h> #include <errno.h> #include <poll.h> #include <stdlib.h> diff --git a/lib/stream-unix.c b/lib/stream-unix.c index 6dee17d7..6ed7648b 100644 --- a/lib/stream-unix.c +++ b/lib/stream-unix.c @@ -16,7 +16,6 @@ #include <config.h> #include "stream.h" -#include <assert.h> #include <errno.h> #include <inttypes.h> #include <netdb.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 <assert.h> #include <stdbool.h> #include <stdint.h> #include "util.h" diff --git a/lib/vconn-stream.c b/lib/vconn-stream.c index 38ce3747..613b92cf 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 <config.h> -#include <assert.h> #include <errno.h> #include <poll.h> #include <stdlib.h> diff --git a/ovsdb/ovsdb-client.c b/ovsdb/ovsdb-client.c index d5d2189e..37bd1aa2 100644 --- a/ovsdb/ovsdb-client.c +++ b/ovsdb/ovsdb-client.c @@ -16,7 +16,6 @@ #include <config.h> -#include <assert.h> #include <ctype.h> #include <errno.h> #include <getopt.h> diff --git a/ovsdb/ovsdb-server.c b/ovsdb/ovsdb-server.c index 6032d732..2657e264 100644 --- a/ovsdb/ovsdb-server.c +++ b/ovsdb/ovsdb-server.c @@ -15,7 +15,6 @@ #include <config.h> -#include <assert.h> #include <errno.h> #include <getopt.h> #include <signal.h> diff --git a/vswitchd/ovs-vswitchd.c b/vswitchd/ovs-vswitchd.c index 84e5ad11..9736b79e 100644 --- a/vswitchd/ovs-vswitchd.c +++ b/vswitchd/ovs-vswitchd.c @@ -15,7 +15,6 @@ #include <config.h> -#include <assert.h> #include <errno.h> #include <getopt.h> #include <limits.h> |