mlxsw: spectrum: Remove unnecessary checks from event processing
authorIdo Schimmel <idosch@mellanox.com>
Mon, 20 Jun 2016 21:04:02 +0000 (23:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jun 2016 09:02:49 +0000 (05:02 -0400)
commitddbe993dbe4d832a6ea31e4359150fbc5a4b93d4
tree28a587170819c920418fd20275d93a58c14f8ee1
parent6ec439043b0dcbd7845b9e268a12daac92ebd190
mlxsw: spectrum: Remove unnecessary checks from event processing

When upper device of a VLAN device changes we already made sure it's
a bridge device in PRECHANGEUPPER, so no need to check it's a master
device in CHANGEUPPER.

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>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c