Commit 6a8aa782 authored by Markus Elfring's avatar Markus Elfring Committed by Michael Ellerman
Browse files

drivers/ps3: Remove duplicate error messages

parent 331aa46a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
		}
+0 −1
Original line number Diff line number Diff line
@@ -917,7 +917,6 @@ static int ps3_vuart_bus_interrupt_get(void)
	vuart_bus_priv.bmp = kzalloc(sizeof(struct ports_bmp), GFP_KERNEL);

	if (!vuart_bus_priv.bmp) {
		pr_debug("%s:%d: kzalloc failed.\n", __func__, __LINE__);
		result = -ENOMEM;
		goto fail_bmp_malloc;
	}