usb: ehci-hcd.c: fix 'value computed is not used' warning
Subsystems (2)
PATCH 1/1 usb: ehci-hcd.c: fix 'value computed is not used' warning
Signed-off-by Antony Pavlov <[email protected]>
--- drivers/usb/host/ehci-hcd.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/usb/host/ehci-hcd.c +2 -2
@@ -714,7 +714,7 @@ ehci_submit_root(struct usb_device *dev, unsigned long pipe, void *buffer, goto unknown; }/* unblock posted writes */ -ehci_readl (&ehci->hcor->or_usbcmd); + (void )ehci_readl (&ehci->hcor->or_usbcmd);break ;case USB_REQ_CLEAR_FEATURE | ((USB_DIR_OUT |USB_RT_PORT ) <<8 ): reg =ehci_readl (status_reg);
@@ -743,7 +743,7 @@ ehci_submit_root(struct usb_device *dev, unsigned long pipe, void *buffer, }ehci_writel (status_reg, reg);/* unblock posted write */ -ehci_readl (&ehci->hcor->or_usbcmd); + (void )ehci_readl (&ehci->hcor->or_usbcmd);break ;default :debug ("Unknown request\n" );
Signature · 7 lines
1.7.7 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox