aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAlexandru Juncu <alexj@rosedu.org>2013-07-26 10:03:35 -0400
committerRalf Baechle <ralf@linux-mips.org>2013-08-26 09:31:54 -0400
commit83eefabf9b596b8237cdcc385bff67f70d1e5a2d (patch)
tree1bb0e4c25fc0657b8cf1054892805609282c9dd7 /arch
parent62597c60816967100243338421782469b831563d (diff)
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/netlogic/xlp/usb-init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/netlogic/xlp/usb-init.c b/arch/mips/netlogic/xlp/usb-init.c
index ef3897ef0dc7..d5378ef3c0f7 100644
--- a/arch/mips/netlogic/xlp/usb-init.c
+++ b/arch/mips/netlogic/xlp/usb-init.c
@@ -75,8 +75,7 @@ static void nlm_usb_intr_en(int node, int port)
75 port_addr = nlm_get_usb_regbase(node, port); 75 port_addr = nlm_get_usb_regbase(node, port);
76 val = nlm_read_usb_reg(port_addr, USB_INT_EN); 76 val = nlm_read_usb_reg(port_addr, USB_INT_EN);
77 val = USB_CTRL_INTERRUPT_EN | USB_OHCI_INTERRUPT_EN | 77 val = USB_CTRL_INTERRUPT_EN | USB_OHCI_INTERRUPT_EN |
78 USB_OHCI_INTERRUPT1_EN | USB_CTRL_INTERRUPT_EN | 78 USB_OHCI_INTERRUPT1_EN | USB_OHCI_INTERRUPT2_EN;
79 USB_OHCI_INTERRUPT_EN | USB_OHCI_INTERRUPT2_EN;
80 nlm_write_usb_reg(port_addr, USB_INT_EN, val); 79 nlm_write_usb_reg(port_addr, USB_INT_EN, val);
81} 80}
82 81