staging: ccree: simplify freeing SRAM memory address
authorGilad Ben-Yossef <gilad@benyossef.com>
Tue, 12 Dec 2017 14:53:09 +0000 (14:53 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Dec 2017 11:39:38 +0000 (12:39 +0100)
commite24673641ec65e263f86a0f5fd5147c4b644181c
tree242231105df19ac2dbf4b43728c0c7fd332b74f3
parent7358733a5cb4f18fee87f36e3c2797e8438613b9
staging: ccree: simplify freeing SRAM memory address

The code freeing the SRAM memory address was zeroing the address
on release although there is nothing secret about it. Simplify
the code by simply calling kfree directly.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ccree/ssi_sram_mgr.c