target: use kvfree() in session alloc and free
authorPekka Enberg <penberg@kernel.org>
Tue, 30 Jun 2015 21:59:24 +0000 (14:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Jul 2015 02:45:00 +0000 (19:45 -0700)
commitde64d3a6c7c0cd9cbf673b68fd4a7ae6a2b8f035
tree5b97a7d22ef37cbb181f3186011fe3cb2fb33257
parentf8c5b93947cd9a6bbc83ef22c060a6cfcc1572b0
target: use kvfree() in session alloc and free

Use kvfree() instead of open-coding it.

Signed-off-by: Pekka Enberg <penberg@kernel.org>
Cc: "Nicholas A. Bellinger" <nab@linux-iscsi.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/target/target_core_transport.c