We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fa3354 commit b253a27Copy full SHA for b253a27
drivers/phy/renesas/phy-rcar-gen3-usb2.c
@@ -673,8 +673,6 @@ static int rcar_gen3_phy_usb2_probe(struct platform_device *pdev)
673
channel->irq = platform_get_irq_optional(pdev, 0);
674
channel->dr_mode = rcar_gen3_get_dr_mode(dev->of_node);
675
if (channel->dr_mode != USB_DR_MODE_UNKNOWN) {
676
- int ret;
677
-
678
channel->is_otg_channel = true;
679
channel->uses_otg_pins = !of_property_read_bool(dev->of_node,
680
"renesas,no-otg-pins");
@@ -738,8 +736,6 @@ static int rcar_gen3_phy_usb2_probe(struct platform_device *pdev)
738
736
ret = PTR_ERR(provider);
739
737
goto error;
740
} else if (channel->is_otg_channel) {
741
742
743
ret = device_create_file(dev, &dev_attr_role);
744
if (ret < 0)
745
0 commit comments