mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 05:56:48 +07:00
usb: phy: phy-tegra-usb: delete unnecessary 'out of memory' messages
The memory subsystem has already had similar message for it. Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
87fb3dec36
commit
01ad32d5b5
@ -880,11 +880,8 @@ static int utmi_phy_probe(struct tegra_usb_phy *tegra_phy,
|
|||||||
|
|
||||||
tegra_phy->config = devm_kzalloc(&pdev->dev, sizeof(*config),
|
tegra_phy->config = devm_kzalloc(&pdev->dev, sizeof(*config),
|
||||||
GFP_KERNEL);
|
GFP_KERNEL);
|
||||||
if (!tegra_phy->config) {
|
if (!tegra_phy->config)
|
||||||
dev_err(&pdev->dev,
|
|
||||||
"unable to allocate memory for USB UTMIP config\n");
|
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
|
||||||
|
|
||||||
config = tegra_phy->config;
|
config = tegra_phy->config;
|
||||||
|
|
||||||
@ -979,10 +976,8 @@ static int tegra_usb_phy_probe(struct platform_device *pdev)
|
|||||||
int err;
|
int err;
|
||||||
|
|
||||||
tegra_phy = devm_kzalloc(&pdev->dev, sizeof(*tegra_phy), GFP_KERNEL);
|
tegra_phy = devm_kzalloc(&pdev->dev, sizeof(*tegra_phy), GFP_KERNEL);
|
||||||
if (!tegra_phy) {
|
if (!tegra_phy)
|
||||||
dev_err(&pdev->dev, "unable to allocate memory for USB2 PHY\n");
|
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
|
||||||
|
|
||||||
match = of_match_device(tegra_usb_phy_id_table, &pdev->dev);
|
match = of_match_device(tegra_usb_phy_id_table, &pdev->dev);
|
||||||
if (!match) {
|
if (!match) {
|
||||||
|
Loading…
Reference in New Issue
Block a user