Input: xpad - remove useless check in xpad_remove
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 12 Nov 2010 05:52:18 +0000 (21:52 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 12 Nov 2010 06:02:27 +0000 (22:02 -0800)
commit2a0591596b302adc654a1caf6bd3d0063407ea4b
tree62f649534487d2978ec22219470a8db4288fcf41
parent161feb2417dd0c4324c2e8da24aaebd30a436d45
Input: xpad - remove useless check in xpad_remove

ixpad can never be NULL here; if it is NULL we would not have been bound to
the interface and then why would we be called?

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