]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Fix error path in mlxsw_sp_module_init
authorJiri Pirko <jiri@mellanox.com>
Thu, 1 Sep 2016 08:37:42 +0000 (10:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Sep 2016 16:44:56 +0000 (09:44 -0700)
commitd3d0096e77711ce695026ad10a6090f66fe48fc2
treef312676e8324967814012f0abf2edd7825cad4fc
parent527b17abcb84d9747eeabfb4a7921fd7ce27b6cd
mlxsw: spectrum: Fix error path in mlxsw_sp_module_init

Add forgotten notifier unregister.

Fixes: 1cc503140fec ("mlxsw: spectrum: Introduce support for router interfaces")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c