diff options
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2010-10-15 10:33:48 -0700 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2011-03-13 18:07:14 -0700 |
commit | 8766c815607e572556b04075d4545330123c4f27 (patch) | |
tree | 04a1b0589c0c194baf87fb57cb243ef39e94419e /drivers/usb/core/hcd.c | |
parent | b02d0ed677acb3465e7600366f2353413bf24074 (diff) |
usb: Make usb_hcd_pci_probe labels more descriptive.
Make the labels for the goto statements in usb_hcd_pci_probe()
describe the cleanup they do, rather than being numbered err[1-4].
This makes it easier to add error handling later.
The error handling for this function looks a little fishy, since
set_hs_companion() isn't called until the very end of the function, and
clear_hs_companion() is called if this function fails earlier than that.
But it should be harmless to clear a NULL pointer, so leave the error
handling as-is.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'drivers/usb/core/hcd.c')
0 files changed, 0 insertions, 0 deletions