diff options
author | Oliver Neukum <oneukum@suse.de> | 2007-01-25 13:22:24 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-17 02:32:17 +0300 |
commit | 6957e1ac9c498ff934eaf1b7591b5ea1c98b6e54 (patch) | |
tree | 4d02721f6f0b376a8f6fe084647acebfe6f79d2b /drivers/usb/serial/pl2303.h | |
parent | c5999f0da73b7f46435a67671c8861ed14a94c4e (diff) | |
download | linux-6957e1ac9c498ff934eaf1b7591b5ea1c98b6e54.tar.xz |
USB: fix needless failure under certain conditions
in devices.c we have a piece of code for dealing with losing in a race.
If we indeed lose the race we don't care whether our own memory allocation
worked. The check for that is so early that we return early even if we
don't have to.
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/pl2303.h')
0 files changed, 0 insertions, 0 deletions