secchan: Drop unused function.
authorBen Pfaff <blp@nicira.com>
Tue, 10 Mar 2009 20:34:24 +0000 (13:34 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 10 Mar 2009 20:56:00 +0000 (13:56 -0700)
secchan/ofproto.c

index e6af97a40e3fdd4d2f62e5eb43ec0af281d90200..39eb46da334a24d3bd908e2b0f77f450e6be3939 100644 (file)
@@ -1152,13 +1152,6 @@ ofconn_wait(struct ofconn *ofconn)
     rconn_recv_wait(ofconn->rconn);
 }
 \f
-static inline size_t
-rule_size(int n_actions)
-{
-    return (offsetof(struct rule, actions)
-            + sizeof(union ofp_action) * n_actions);
-}
-
 static struct rule *
 rule_from_cls_rule(const struct cls_rule *cls_rule)
 {