xen-netback: using kfree_rcu() to simplify the code
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 22 Aug 2016 23:01:29 +0000 (23:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Aug 2016 00:00:26 +0000 (17:00 -0700)
commit1345b1ac57a1b85d73912bd13c2bad5f9f26df91
tree86c2a0411c27cb71e54e8fe0e49d523dfc1362f4
parentc41419b091f371d846bc5292c9138a78b7e378fe
xen-netback: using kfree_rcu() to simplify the code

The callback function of call_rcu() just calls a kfree(), so we
can use kfree_rcu() instead of call_rcu() + callback function.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/hash.c