commit | e04199b2167e88f0e2d0410fafaa2c35ff7ba8c1 | [log] [tgz] |
---|---|---|
author | Alan Stern <stern@rowland.harvard.edu> | Tue Jun 24 14:47:29 2008 -0400 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Jul 21 15:16:43 2008 -0700 |
tree | d09cdcd85bfa3ead3d63cf6e1c1b6454fc4ee7f0 | |
parent | d64aac36394b3c26db53538bfedd8444a3a2206e [diff] |
usbfs: don't store bad pointers in registration This patch (as1107) fixes a small bug in the usbfs registration and unregistration code. It avoids leaving an error value stored in the device's usb_classdev field and it avoids trying to unregister a NULL pointer. (It also fixes a rather extreme overuse of whitespace.) Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>