vhost-net: don't open-code kvfree
authorRomain Francoise <romain@orebokech.com>
Thu, 12 Jun 2014 08:42:34 +0000 (10:42 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 23 Jun 2014 06:22:48 +0000 (09:22 +0300)
commitd04257b07f2362d4eb550952d5bf5f4241a8046d
tree05b4960991565b585cb45b707935d36c48bffe6b
parenta497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee
vhost-net: don't open-code kvfree

Commit 23cc5a991c ("vhost-net: extend device allocation to vmalloc")
added another open-coded version of kvfree (which is available since
v3.15-rc5), nuke it.

Signed-off-by: Romain Francoise <romain@orebokech.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/net.c