X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=datapath%2Fdatapath.h;h=d8b7a6dabe59e4ceae83e7e8857dd2d3bea21319;hb=d656937779f5b987ec021c21189a0deab29fd64d;hp=91c8e1e23f12d8ed7c069f9fdfb98d0627510a96;hpb=856081f683d3e7d5b5fa07af4233d285eb205c47;p=openvswitch diff --git a/datapath/datapath.h b/datapath/datapath.h index 91c8e1e2..d8b7a6da 100644 --- a/datapath/datapath.h +++ b/datapath/datapath.h @@ -68,7 +68,6 @@ struct dp_stats_percpu { * @waitqueue: Waitqueue, for waiting for new packets in @queues. * @n_flows: Number of flows currently in flow table. * @table: Current flow table. - * @n_ports: Number of ports currently in @ports. * @ports: Map from port number to &struct vport. %ODPP_LOCAL port * always exists, other ports may be %NULL. * @port_list: List of all ports in @ports in arbitrary order. @@ -93,7 +92,6 @@ struct datapath { struct tbl __rcu *table; /* Switch ports. */ - unsigned int n_ports; struct vport __rcu *ports[DP_MAX_PORTS]; struct list_head port_list;