commit | 6957e1ac9c498ff934eaf1b7591b5ea1c98b6e54 | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oneukum@suse.de> | Thu Jan 25 11:22:24 2007 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Feb 16 15:32:17 2007 -0800 |
tree | 4d02721f6f0b376a8f6fe084647acebfe6f79d2b | |
parent | c5999f0da73b7f46435a67671c8861ed14a94c4e [diff] |
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>