staging: ccree: simplify OOM handling
authorGilad Ben-Yossef <gilad@benyossef.com>
Tue, 3 Oct 2017 10:42:17 +0000 (11:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Oct 2017 16:28:17 +0000 (18:28 +0200)
commit553aff5f1b174749705b9a3c4715c0f8e3805644
treeb1e897f3378d7e77c8bdcdd333931deda25b77b5
parentbdd0873dc28d57651ae2ed4e42bb79526ed684ac
staging: ccree: simplify OOM handling

Simplify handling of memory allocation failures and remove
redundant log messages

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