diff options
author | Ido Schimmel <idosch@mellanox.com> | 2016-11-28 18:01:26 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-29 20:48:51 -0500 |
commit | 523779c734d91e6908b2d6c1fd607c5b3a753e2d (patch) | |
tree | 066ada2a1c4bbd39d15dff91215c65bee5b76f30 /include/linux | |
parent | 81d4d7289a6b8120d118f46c5182dbb86dca8436 (diff) | |
download | linux-rt-523779c734d91e6908b2d6c1fd607c5b3a753e2d.tar.gz |
mlxsw: core: Change order of operations in removal path
We call bus->init() before allocating 'lag.mapping'. Change the order of
operations in removal path to reflect that.
This makes the error path of mlxsw_core_bus_device_register() symmetric
with mlxsw_core_bus_device_unregister().
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions