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