bridge: mdb: reduce the indentation level in br_mdb_fill_info
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 16 Feb 2016 11:46:53 +0000 (12:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Feb 2016 20:27:36 +0000 (15:27 -0500)
commit76cc173d48d9ed2206a1affe13b70d0e8e134010
treee4ac008160e511316b9eb0c3f370e38a7b2a0b5f
parent6bbd9a05a1f9839873a9290b5b7c6fafde8447ba
bridge: mdb: reduce the indentation level in br_mdb_fill_info

Switch the port check and skip if it's null, this allows us to reduce one
indentation level.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_mdb.c