ofp-print: Avoid converting flow to ofp_match just to format it.
[openvswitch] / lib / shash.c
index cc45efb5c8a29b906ac24bcaa4a975451821d829..82791e31f76e77445ff2bf771df6eb78ee4c687d 100644 (file)
@@ -193,7 +193,7 @@ shash_find__(const struct shash *sh, const char *name, size_t hash)
 {
     struct shash_node *node;
 
-    HMAP_FOR_EACH_WITH_HASH (node, struct shash_node, node, hash, &sh->map) {
+    HMAP_FOR_EACH_WITH_HASH (node, node, hash, &sh->map) {
         if (!strcmp(node->name, name)) {
             return node;
         }