]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6ce6071199e23489b06e8a1cfebf162d9e20ab41
treee4ac008160e511316b9eb0c3f370e38a7b2a0b5f
parent70b2c5a813022c26c35f6d2a285d0efd121e78a5
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