mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
dpif: Remove unused 'get_max_ports' from provider interface.
Nothing ever called this function. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Ethan Jackson <ethan@nicira.com>
This commit is contained in:
@@ -673,12 +673,6 @@ dpif_linux_port_query_by_name(const struct dpif *dpif, const char *devname,
|
||||
return dpif_linux_port_query__(dpif, 0, devname, dpif_port);
|
||||
}
|
||||
|
||||
static uint32_t
|
||||
dpif_linux_get_max_ports(const struct dpif *dpif OVS_UNUSED)
|
||||
{
|
||||
return MAX_PORTS;
|
||||
}
|
||||
|
||||
static uint32_t
|
||||
dpif_linux_port_get_pid(const struct dpif *dpif_, odp_port_t port_no)
|
||||
{
|
||||
@@ -1620,7 +1614,6 @@ const struct dpif_class dpif_linux_class = {
|
||||
dpif_linux_port_del,
|
||||
dpif_linux_port_query_by_number,
|
||||
dpif_linux_port_query_by_name,
|
||||
dpif_linux_get_max_ports,
|
||||
dpif_linux_port_get_pid,
|
||||
dpif_linux_port_dump_start,
|
||||
dpif_linux_port_dump_next,
|
||||
|
Reference in New Issue
Block a user