Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 83eefabf authored by Alexandru Juncu's avatar Alexandru Juncu Committed by Ralf Baechle
Browse files

MIPS:Netlogic: Remove redundant value in operation.



Removed parameters checked twice in logical OR operation.
Suggested by coccinelle and manually verified.

Signed-off-by: default avatarAlexandru Juncu <alexj@rosedu.org>
Cc: jchandra@broadcom.com
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/5627/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 62597c60
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -75,8 +75,7 @@ static void nlm_usb_intr_en(int node, int port)
	port_addr = nlm_get_usb_regbase(node, port);
	val = nlm_read_usb_reg(port_addr, USB_INT_EN);
	val = USB_CTRL_INTERRUPT_EN  | USB_OHCI_INTERRUPT_EN |
		USB_OHCI_INTERRUPT1_EN | USB_CTRL_INTERRUPT_EN	|
		USB_OHCI_INTERRUPT_EN | USB_OHCI_INTERRUPT2_EN;
		USB_OHCI_INTERRUPT1_EN | USB_OHCI_INTERRUPT2_EN;
	nlm_write_usb_reg(port_addr, USB_INT_EN, val);
}