git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
upgrade to new signature of update_flags
[sliver-openvswitch.git]
/
lib
/
hmap.c
diff --git
a/lib/hmap.c
b/lib/hmap.c
index
1971029
..
97c6959
100644
(file)
--- a/
lib/hmap.c
+++ b/
lib/hmap.c
@@
-16,7
+16,6
@@
#include <config.h>
#include "hmap.h"
#include <config.h>
#include "hmap.h"
-#include <assert.h>
#include <stdint.h>
#include <string.h>
#include "coverage.h"
#include <stdint.h>
#include <string.h>
#include "coverage.h"
@@
-91,8
+90,8
@@
resize(struct hmap *hmap, size_t new_mask)
struct hmap tmp;
size_t i;
struct hmap tmp;
size_t i;
- assert(!(new_mask & (new_mask + 1)));
- assert(new_mask != SIZE_MAX);
+
ovs_
assert(!(new_mask & (new_mask + 1)));
+
ovs_
assert(new_mask != SIZE_MAX);
hmap_init(&tmp);
if (new_mask) {
hmap_init(&tmp);
if (new_mask) {