net: dsa: remove dsa_port_is_bridged
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Fri, 26 May 2017 22:12:42 +0000 (18:12 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 May 2017 22:13:41 +0000 (18:13 -0400)
commitf3d736c478adbe46234c35b2ef9b55a11dd01d7c
tree6dba49b34eee4ea755c7ebe832031c92441523fb
parent90592b9a35836bacd34d92a3aba7958756b6a7c0
net: dsa: remove dsa_port_is_bridged

The helper is only used once and makes the code more complicated that it
should. Remove it and reorganize the variables so that it fits on 80
columns.

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