Skip to content

Commit

Permalink
PCI: exynos: Remove unnecessary OOM messages
Browse files Browse the repository at this point in the history
The site-specific OOM messages are unnecessary, because they duplicate the
MM subsystem generic OOM message.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
  • Loading branch information
Jingoo Han authored and Bjorn Helgaas committed May 27, 2014
1 parent c9eaa44 commit 755ba5e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/pci/host/pci-exynos.c
Original file line number Diff line number Diff line change
@@ -568,10 +568,8 @@ static int __init exynos_pcie_probe(struct platform_device *pdev)

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

pp = &exynos_pcie->pp;

0 comments on commit 755ba5e

Please sign in to comment.