amlogic: usb: Remove extra parentheses
authorStricted <info@stricted.net>
Sat, 19 Jun 2021 23:12:06 +0000 (23:12 +0000)
committerNolen Johnson <johnsonnolen@gmail.com>
Sat, 3 Jul 2021 01:05:09 +0000 (21:05 -0400)
Change-Id: Ide547d68899ef8150344b1f9d43e8db843317f63

drivers/amlogic/usb/phy/usbphy.c

index a6bea85d42bfdc2839840abdb344e92cd88e05d5..41b3c505e40dcffa6f188bda2afd5fc539452d4d 100644 (file)
@@ -164,7 +164,7 @@ int clk_enable_usb_meson8(struct platform_device *pdev,
 #if 0
        if (is_meson_m8m2_cpu() && (port_idx == USB_PORT_IDX_B)) {
 #endif
-       if ((port_idx == USB_PORT_IDX_B)) {
+       if (port_idx == USB_PORT_IDX_B) {
                adp_bc.d32 = peri->adp_bc;
                adp_bc.b.aca_enable = 1;
                peri->adp_bc = adp_bc.d32;