diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-08-28 14:43:25 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-27 14:58:58 -0400 |
commit | 1ee95216c0db6305c047a90b0822e2f1d2d5acdc (patch) | |
tree | 1bc92c5bbfe23aedb8508d757a46d2fe2e274928 /drivers/usb/host/ohci-dbg.c | |
parent | 657b6717e7e7dc5620525a34f1561b563fd472fa (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/ohci-dbg.c')
-rw-r--r-- | drivers/usb/host/ohci-dbg.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/usb/host/ohci-dbg.c b/drivers/usb/host/ohci-dbg.c index 534d07dcb824..8293c1d4be3f 100644 --- a/drivers/usb/host/ohci-dbg.c +++ b/drivers/usb/host/ohci-dbg.c | |||
@@ -685,10 +685,11 @@ static CLASS_DEVICE_ATTR (registers, S_IRUGO, show_registers, NULL); | |||
685 | static inline void create_debug_files (struct ohci_hcd *ohci) | 685 | static inline void create_debug_files (struct ohci_hcd *ohci) |
686 | { | 686 | { |
687 | struct class_device *cldev = ohci_to_hcd(ohci)->self.class_dev; | 687 | struct class_device *cldev = ohci_to_hcd(ohci)->self.class_dev; |
688 | int retval; | ||
688 | 689 | ||
689 | class_device_create_file(cldev, &class_device_attr_async); | 690 | retval = class_device_create_file(cldev, &class_device_attr_async); |
690 | class_device_create_file(cldev, &class_device_attr_periodic); | 691 | retval = class_device_create_file(cldev, &class_device_attr_periodic); |
691 | class_device_create_file(cldev, &class_device_attr_registers); | 692 | retval = class_device_create_file(cldev, &class_device_attr_registers); |
692 | ohci_dbg (ohci, "created debug files\n"); | 693 | ohci_dbg (ohci, "created debug files\n"); |
693 | } | 694 | } |
694 | 695 | ||