summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-09 14:31:25 +0900
committerBjorn Helgaas <bhelgaas@google.com>2014-05-27 16:58:00 -0600
commit755ba5e406e5ddd876e85a881dc50c7f54a8fd6b (patch)
tree1b1ccb1c5750fd368372d486d632d9f7fccde839 /drivers/pci
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff)
downloadop-kernel-dev-755ba5e406e5ddd876e85a881dc50c7f54a8fd6b.zip
op-kernel-dev-755ba5e406e5ddd876e85a881dc50c7f54a8fd6b.tar.gz
PCI: exynos: Remove unnecessary OOM messages
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>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/host/pci-exynos.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pci/host/pci-exynos.c b/drivers/pci/host/pci-exynos.c
index 3de6bfb..81aa700 100644
--- a/drivers/pci/host/pci-exynos.c
+++ b/drivers/pci/host/pci-exynos.c
@@ -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;
OpenPOWER on IntegriCloud