IB/ehca: use kvfree() in ipz_queue_{cd}tor()
authorPekka Enberg <penberg@kernel.org>
Tue, 30 Jun 2015 21:59:21 +0000 (14:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Jul 2015 02:45:00 +0000 (19:45 -0700)
commitf8c5b93947cd9a6bbc83ef22c060a6cfcc1572b0
tree3955a46f459a2a9ae3ad9cc10ab3e8838082e135
parent48a20138abeb6d28cf781ae5c3c482e9ad9f89aa
IB/ehca: use kvfree() in ipz_queue_{cd}tor()

Use kvfree() instead of open-coding it.

Signed-off-by: Pekka Enberg <penberg@kernel.org>
Cc: Hoang-Nam Nguyen <hnguyen@de.ibm.com>
Cc: Christoph Raisch <raisch@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/infiniband/hw/ehca/ipz_pt_fn.c