From: Johan Hovold Date: Tue, 19 Mar 2013 08:21:07 +0000 (+0100) Subject: USB: garmin_gps: fix memory leak on disconnect X-Git-Tag: v3.9-rc4~11^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=618aa1068df29c37a58045fe940f9106664153fd;p=pandora-kernel.git USB: garmin_gps: fix memory leak on disconnect Remove bogus disconnect test introduced by 95bef012e ("USB: more serial drivers writing after disconnect") which prevented queued data from being freed on disconnect. The possible IO it was supposed to prevent is long gone. Cc: stable Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed