From: Alexey Dobriyan <[EMAIL PROTECTED]>
drivers/usb/core/hub.c: In function `hub_events':
drivers/usb/core/hub.c:2591: warning: statement with no effect
Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/core/usb.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/core/usb.h b/drivers/usb/core/usb.h
index 67da6d0..5162cb3 100644
--- a/drivers/usb/core/usb.h
+++ b/drivers/usb/core/usb.h
@@ -40,7 +40,10 @@ extern int usb_port_resume(struct usb_de
#else
#define usb_suspend_both(udev, msg) 0
-#define usb_resume_both(udev) 0
+static inline int usb_resume_both(struct usb_device *udev)
+{
+ return 0;
+}
#define usb_port_suspend(dev) 0
#define usb_port_resume(dev) 0
--
1.4.2.1
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel