Skip to content

Commit 83eefab

Browse files
alexandrujuncuralfbaechle
authored andcommitted
MIPS:Netlogic: Remove redundant value in operation.
Removed parameters checked twice in logical OR operation. Suggested by coccinelle and manually verified. Signed-off-by: Alexandru 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: Ralf Baechle <ralf@linux-mips.org>
1 parent 62597c6 commit 83eefab

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎arch/mips/netlogic/xlp/usb-init.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ static void nlm_usb_intr_en(int node, int port)
7575
port_addr = nlm_get_usb_regbase(node, port);
7676
val = nlm_read_usb_reg(port_addr, USB_INT_EN);
7777
val = USB_CTRL_INTERRUPT_EN | USB_OHCI_INTERRUPT_EN |
78-
USB_OHCI_INTERRUPT1_EN | USB_CTRL_INTERRUPT_EN |
79-
USB_OHCI_INTERRUPT_EN | USB_OHCI_INTERRUPT2_EN;
78+
USB_OHCI_INTERRUPT1_EN | USB_OHCI_INTERRUPT2_EN;
8079
nlm_write_usb_reg(port_addr, USB_INT_EN, val);
8180
}
8281

0 commit comments

Comments
 (0)