[PATCH] usb: ehci-hcd.c: fix 'value computed is not used' warning
Antony Pavlov
antonynpavlov at gmail.com
Wed Oct 26 04:25:40 EDT 2011
Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
drivers/usb/host/ehci-hcd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index 72f1c14..81e3a42 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -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");
--
1.7.7
More information about the barebox
mailing list