From: Alan Stern Date: Tue, 24 Jun 2008 18:47:29 +0000 (-0400) Subject: usbfs: don't store bad pointers in registration X-Git-Tag: v2.6.27-rc1~946^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e04199b2167e88f0e2d0410fafaa2c35ff7ba8c1;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed