mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-01 03:54:02 +00:00
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: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
parent
5ba8368b7a
commit
6670070742
1 changed files with 2 additions and 3 deletions
|
@ -353,10 +353,9 @@ static int __init ks_pcie_probe(struct platform_device *pdev)
|
||||||
|
|
||||||
ks_pcie = devm_kzalloc(&pdev->dev, sizeof(*ks_pcie),
|
ks_pcie = devm_kzalloc(&pdev->dev, sizeof(*ks_pcie),
|
||||||
GFP_KERNEL);
|
GFP_KERNEL);
|
||||||
if (!ks_pcie) {
|
if (!ks_pcie)
|
||||||
dev_err(dev, "no memory for keystone pcie\n");
|
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
|
||||||
pp = &ks_pcie->pp;
|
pp = &ks_pcie->pp;
|
||||||
|
|
||||||
/* initialize SerDes Phy if present */
|
/* initialize SerDes Phy if present */
|
||||||
|
|
Loading…
Add table
Reference in a new issue