IB/hfi1: use kvfree() in sdma.c
authorGeliang Tang <geliangtang@163.com>
Mon, 21 Sep 2015 11:43:05 +0000 (04:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:42:27 +0000 (03:42 +0200)
commit60f57ec2da398a7c1f56dc2ac690ef75b17d2399
treec94f2a26784984452a328bd80b697f071ef2500e
parent49c3203707c9feebee26fec02f67b0431ac0a72a
IB/hfi1: use kvfree() in sdma.c

Use kvfree() instead of open-coding it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Acked-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/sdma.c