commit | 6edf10173a1feb1078f2fc8c655baf9614e83493 | [log] [tgz] |
---|---|---|
author | Elad Raz <eladr@mellanox.com> | Sun Oct 23 17:43:05 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 26 17:30:32 2016 -0400 |
tree | b8b023d22324234adc9827335650404d79995774 | |
parent | 89ab88b01bacc5bfc338693da3925504757e7844 [diff] |
devlink: Prevent port_type_set() callback when it's not needed When a port_type_set() is been called and the new port type set is the same as the old one, just return success. Signed-off-by: Elad Raz <eladr@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>