aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-dbg.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-08-28 14:43:25 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-09-27 14:58:58 -0400
commit1ee95216c0db6305c047a90b0822e2f1d2d5acdc (patch)
tree1bc92c5bbfe23aedb8508d757a46d2fe2e274928 /drivers/usb/host/ehci-dbg.c
parent657b6717e7e7dc5620525a34f1561b563fd472fa (diff)
USB: fix __must_check warnings in drivers/usb/host/
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-dbg.c')
-rw-r--r--drivers/usb/host/ehci-dbg.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/usb/host/ehci-dbg.c b/drivers/usb/host/ehci-dbg.c
index 9cd6270d06bc..34b7a31cd85b 100644
--- a/drivers/usb/host/ehci-dbg.c
+++ b/drivers/usb/host/ehci-dbg.c
@@ -785,10 +785,11 @@ static CLASS_DEVICE_ATTR (registers, S_IRUGO, show_registers, NULL);
785static inline void create_debug_files (struct ehci_hcd *ehci) 785static inline void create_debug_files (struct ehci_hcd *ehci)
786{ 786{
787 struct class_device *cldev = ehci_to_hcd(ehci)->self.class_dev; 787 struct class_device *cldev = ehci_to_hcd(ehci)->self.class_dev;
788 int retval;
788 789
789 class_device_create_file(cldev, &class_device_attr_async); 790 retval = class_device_create_file(cldev, &class_device_attr_async);
790 class_device_create_file(cldev, &class_device_attr_periodic); 791 retval = class_device_create_file(cldev, &class_device_attr_periodic);
791 class_device_create_file(cldev, &class_device_attr_registers); 792 retval = class_device_create_file(cldev, &class_device_attr_registers);
792} 793}
793 794
794static inline void remove_debug_files (struct ehci_hcd *ehci) 795static inline void remove_debug_files (struct ehci_hcd *ehci)