mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 12:56:55 +07:00
rocker: fix rocker_world_port_obj_vlan_add()
We were changing return values and accidentally made
rocker_world_port_obj_vlan_add() into a no-op.
Fixes: fccd84d449
('rocker: return -EOPNOTSUPP for undefined world ops')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b633353115
commit
a30a9ea6e2
@ -1598,7 +1598,6 @@ rocker_world_port_obj_vlan_add(struct rocker_port *rocker_port,
|
||||
|
||||
if (!wops->port_obj_vlan_add)
|
||||
return -EOPNOTSUPP;
|
||||
return 0;
|
||||
return wops->port_obj_vlan_add(rocker_port, vlan, trans);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user