diff options
author | Elad Raz <eladr@mellanox.com> | 2016-10-23 17:43:05 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-26 17:30:32 -0400 |
commit | 6edf10173a1feb1078f2fc8c655baf9614e83493 (patch) | |
tree | b8b023d22324234adc9827335650404d79995774 /include/net | |
parent | 89ab88b01bacc5bfc338693da3925504757e7844 (diff) | |
download | linux-6edf10173a1feb1078f2fc8c655baf9614e83493.tar.bz2 |
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>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions