summaryrefslogtreecommitdiff
path: root/drivers/ps3/ps3-lpm.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2020-05-09 18:58:31 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2020-05-19 00:10:35 +1000
commit6a8aa782cece2330322c33452a767f53f8ba38c9 (patch)
tree1aa4ebc1f9ee85ceb11ca8262739f5a297a4fcc6 /drivers/ps3/ps3-lpm.c
parent331aa46aaf51325d8532a4948f5127b2edc441a5 (diff)
drivers/ps3: Remove duplicate error messages
Remove duplicate memory allocation failure error messages. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/c763425d8e6f680d3180b3246c9e77727df179d0.1589049250.git.geoff@infradead.org
Diffstat (limited to 'drivers/ps3/ps3-lpm.c')
-rw-r--r--drivers/ps3/ps3-lpm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ps3/ps3-lpm.c b/drivers/ps3/ps3-lpm.c
index 064b5884ba13..e54aa2d82f50 100644
--- a/drivers/ps3/ps3-lpm.c
+++ b/drivers/ps3/ps3-lpm.c
@@ -1111,8 +1111,6 @@ int ps3_lpm_open(enum ps3_lpm_tb_type tb_type, void *tb_cache,
lpm_priv->tb_cache_internal = kzalloc(
lpm_priv->tb_cache_size + 127, GFP_KERNEL);
if (!lpm_priv->tb_cache_internal) {
- dev_err(sbd_core(), "%s:%u: alloc internal tb_cache "
- "failed\n", __func__, __LINE__);
result = -ENOMEM;
goto fail_malloc;
}