]> git.proxmox.com Git - mirror_ovs.git/commitdiff
Remove useless use of <assert.h>.
authorBen Pfaff <blp@nicira.com>
Tue, 6 Nov 2012 21:15:44 +0000 (13:15 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 17 Jan 2013 00:03:55 +0000 (16:03 -0800)
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>
lib/ofp-util.h
lib/packets.c
lib/sat-math.h
lib/stream-fd.c
lib/stream-unix.c
lib/tag.h
lib/vconn-stream.c
ovsdb/ovsdb-client.c
ovsdb/ovsdb-server.c
vswitchd/ovs-vswitchd.c

index f8c4260fea80ae0be11445823e1c95453449025e..77162bf29cfc0ff001fbf75e9f995902b544f485 100644 (file)
@@ -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>
index 812d1af9372a55bb05f36ee11e8302254982dfd5..73dfcdc2e31256a9690f764c8c2ab73ebf70810c 100644 (file)
@@ -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>
index f4287fc250685d0320d8fbced9a1e716657dafcd..3d1c50bdccc09ce9d919c0fd0c6ab72e8d353e3f 100644 (file)
@@ -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. */
index f7e1234a00ceac3ef13edfb3b1bd95e06da1505f..1b16f3e5088c05f8bc1da40afd869d33f1e57da0 100644 (file)
@@ -16,7 +16,6 @@
 
 #include <config.h>
 #include "stream-fd.h"
-#include <assert.h>
 #include <errno.h>
 #include <poll.h>
 #include <stdlib.h>
index 6dee17d7b18d8aadc3628485eb8c3aa712f3b945..6ed7648bc633975e4d24698e0e62215f1ce8b7d8 100644 (file)
@@ -16,7 +16,6 @@
 
 #include <config.h>
 #include "stream.h"
-#include <assert.h>
 #include <errno.h>
 #include <inttypes.h>
 #include <netdb.h>
index 2050de0b2febb93ed9ce3696bf1b1c1938a787bc..9d6b4aab1f9262ecd1ef43145eb3325fc4884b50 100644 (file)
--- 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 <assert.h>
 #include <stdbool.h>
 #include <stdint.h>
 #include "util.h"
index 38ce374777881b472a243246fe6dddc9fb2f638b..613b92cfbbca009f8bd6c3b670221eb35960194b 100644 (file)
@@ -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>
index d5d2189ed7e88091fe9b4a9a7415960d01807eb6..37bd1aa2fcb408dfd919906139e786637b370be5 100644 (file)
@@ -16,7 +16,6 @@
 
 #include <config.h>
 
-#include <assert.h>
 #include <ctype.h>
 #include <errno.h>
 #include <getopt.h>
index 6032d732067bc9fc70466052e605a02eb4aaba04..2657e26419c5d581ad39b362a3a49a9cadbfe7dc 100644 (file)
@@ -15,7 +15,6 @@
 
 #include <config.h>
 
-#include <assert.h>
 #include <errno.h>
 #include <getopt.h>
 #include <signal.h>
index 84e5ad113302ea3e2573d1a06dcd43f4174521ab..9736b79e0c4198bc884e0209a5bec823fdf193a3 100644 (file)
@@ -15,7 +15,6 @@
 
 #include <config.h>
 
-#include <assert.h>
 #include <errno.h>
 #include <getopt.h>
 #include <limits.h>