Input: kbtab - simplify kbtab_disconnect()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 21 Apr 2010 05:06:53 +0000 (22:06 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 21 Apr 2010 05:34:36 +0000 (22:34 -0700)
commit331cb022d3ac1f85f7842a51495c33c629e947bc
treed913e238f074bf6f8fcdbc88cf3c02bb2f8631d3
parentee7aa6ce41e08c68f72b5ca8f14fb61286dc2418
Input: kbtab - simplify kbtab_disconnect()

There is no need to check whether kbtab 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 kbtab_disconnect() since it
is being called in kbtab_close().

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