staging: gasket: removed unnecessary debug message to fix coding style warning

removed unnecessary out of memory message to fix coding style warning.

Signed-off-by: Ashish Vara <ashishvara89@yahoo.com>
Link: https://lore.kernel.org/r/0c041d98-9b0f-95a3-3b19-ff94243a0bbc@yahoo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ashish Vara 2021-02-19 23:44:33 +05:30 committed by Greg Kroah-Hartman
parent 05196d33ce
commit dcda724808
1 changed files with 0 additions and 2 deletions

View File

@ -262,8 +262,6 @@ int gasket_page_table_init(struct gasket_page_table **ppg_tbl,
if (bytes != 0) { if (bytes != 0) {
pg_tbl->entries = vzalloc(bytes); pg_tbl->entries = vzalloc(bytes);
if (!pg_tbl->entries) { if (!pg_tbl->entries) {
dev_dbg(device,
"No memory for address translation metadata\n");
kfree(pg_tbl); kfree(pg_tbl);
*ppg_tbl = NULL; *ppg_tbl = NULL;
return -ENOMEM; return -ENOMEM;