From: Alan Stern Date: Tue, 29 Jul 2008 16:01:04 +0000 (-0400) Subject: usb-serial: don't release unregistered minors X-Git-Tag: v2.6.27-rc4~101^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0282b7f2a874e72c18fcd5a112ccf67f71ba7f5c;p=pandora-kernel.git usb-serial: don't release unregistered minors This patch (as1121) fixes a bug in the USB serial core. When a device is unregistered, the core will give back its minors -- even if the device hasn't been assigned any! The patch reserves the highest minor value (255) to mean that no minor was assigned. It also removes some dead code and does a small style fixup. Signed-off-by: Alan Stern Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed