From: Ben Pfaff Date: Tue, 10 Mar 2009 20:34:24 +0000 (-0700) Subject: secchan: Drop unused function. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c85cbc168d5dc757a1d399c4deb8402742c1986f;p=openvswitch secchan: Drop unused function. --- diff --git a/secchan/ofproto.c b/secchan/ofproto.c index e6af97a4..39eb46da 100644 --- a/secchan/ofproto.c +++ b/secchan/ofproto.c @@ -1152,13 +1152,6 @@ ofconn_wait(struct ofconn *ofconn) rconn_recv_wait(ofconn->rconn); } -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) {