]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: simplify the flush_store by calling store_bridge_parm
authorXin Long <lucien.xin@gmail.com>
Fri, 8 Apr 2016 16:03:28 +0000 (00:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Apr 2016 02:42:32 +0000 (22:42 -0400)
commit5f983a73d5d5b2527a16820ab95463c665646e5b
treebc9549564b2665c471df37e20c6af3e9f3849a36
parent30f5e8be56440935fafd5411d529fef8dcc3f9a5
bridge: simplify the flush_store by calling store_bridge_parm

There are some repetitive codes in flush_store, we can remove
them by calling store_bridge_parm, also, it would send rtnl notification
after we add it in store_bridge_parm in the following patches.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_sysfs_br.c