net: dsa: do not warn unsupported bridge ops
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Sun, 11 Oct 2015 22:08:37 +0000 (18:08 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2015 11:26:30 +0000 (04:26 -0700)
commitefd29b3d8266761570fd3f440e2d5aa24c678725
tree3c2f480ed16f0a5e26675317a2788d49a4735aa4
parentf02bdffca29bc41e440ac67ffd47b56834d3bf85
net: dsa: do not warn unsupported bridge ops

A DSA driver may not provide the port_join_bridge and port_leave_bridge
functions, so don't warn in such case.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/slave.c