PCI: exynos: Remove unnecessary OOM messages
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/pci/host/pci-exynos.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/pci/host/pci-exynos.c +1 -3
@@ -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;
Signature · 1 line
1.7.10.4
Quoted 4 lines · Jingoo Han
The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message.
Signed-off-by Jingoo Han <[email protected]>
Applied to pci/host-exynos for v3.16, thanks!
Quoted 24 lines
--- drivers/pci/host/pci-exynos.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)drivers/pci/host/pci-exynos.c +1
-3@@ -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;Signature · 1 line
1.7.10.4