Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66700707 authored by Jingoo Han's avatar Jingoo Han Committed by Bjorn Helgaas
Browse files

PCI: keystone: Remove unnecessary OOM message



The site-specific OOM messages are unnecessary because they duplicate the
MM subsystem generic OOM message.  This patch fixes the following
checkpatch warning:

  WARNING: Possible unnecessary 'out of memory' message

Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 5ba8368b
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -353,10 +353,9 @@ static int __init ks_pcie_probe(struct platform_device *pdev)

	ks_pcie = devm_kzalloc(&pdev->dev, sizeof(*ks_pcie),
				GFP_KERNEL);
	if (!ks_pcie) {
		dev_err(dev, "no memory for keystone pcie\n");
	if (!ks_pcie)
		return -ENOMEM;
	}

	pp = &ks_pcie->pp;

	/* initialize SerDes Phy if present */