summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshish Vara <ashishvara89@yahoo.com>2021-02-19 21:14:33 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-10 11:25:27 +0300
commitdcda7248088aaed772fc3ef1a344293ae9b4dbce (patch)
treecd475ad821ce4d80641075dfa7c6c2dd7ed47ddc
parent05196d33ce409eef158e064af91cdb3fd7aa639e (diff)
downloadlinux-dcda7248088aaed772fc3ef1a344293ae9b4dbce.tar.xz
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>
-rw-r--r--drivers/staging/gasket/gasket_page_table.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/gasket/gasket_page_table.c b/drivers/staging/gasket/gasket_page_table.c
index 6f6273c83822..2dbf3d9b8f34 100644
--- a/drivers/staging/gasket/gasket_page_table.c
+++ b/drivers/staging/gasket/gasket_page_table.c
@@ -262,8 +262,6 @@ int gasket_page_table_init(struct gasket_page_table **ppg_tbl,
if (bytes != 0) {
pg_tbl->entries = vzalloc(bytes);
if (!pg_tbl->entries) {
- dev_dbg(device,
- "No memory for address translation metadata\n");
kfree(pg_tbl);
*ppg_tbl = NULL;
return -ENOMEM;