bridge: simplify the forward_delay_store by calling store_bridge_parm
authorXin Long <lucien.xin@gmail.com>
Fri, 8 Apr 2016 16:03:29 +0000 (00:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Apr 2016 02:42:32 +0000 (22:42 -0400)
commit347db6b49ec0ba5ee3c9d946d45b7db59cf40480
treea52b165d5f4e2a74379ef37127ee924ced386385
parent14f31bb39f5d4b69c179d219833d7edb9b36ebd9
bridge: simplify the forward_delay_store by calling store_bridge_parm

There are some repetitive codes in forward_delay_store, we can remove
them by calling store_bridge_parm.

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