From: Johan Hovold Date: Thu, 21 Mar 2013 11:36:35 +0000 (+0100) Subject: USB: mos7840: remove bogus disconnect test in close X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~135^2~191 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb3529c6a01fce3e23c968982f46fa46a0095345;p=pandora-kernel.git USB: mos7840: remove bogus disconnect test in close Remove bogus (and unnecessary) test for serial->dev being NULL in close. The device is never cleared, and close is never called after a completed disconnect anyway. Simplify urb killing, and remove some related debug and dead code while at it. Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed