Input: acecad - simplify usb_acecad_disconnect()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 21 Apr 2010 05:20:37 +0000 (22:20 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 21 Apr 2010 05:34:15 +0000 (22:34 -0700)
commit5492f6f801c81c9663417cd8e48e759775977c83
treebe42bad032477cf565e939f50af5978fd576178f
parent2ef2ed597669f5e120d0c51c295f00e34b2f0801
Input: acecad - simplify usb_acecad_disconnect()

There is no need to check whether acecad structure is attached to the
interface; if it isn't and we are called we have much bigger problems.
Also no need to call usb_kill_urb() in usb_acecad_disconnect() since
it is being called in usb_acecad_close().

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/tablet/acecad.c