staging/easycap: remove paranoid argument checks in usb probe/disconnect
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 8 Feb 2011 23:12:40 +0000 (01:12 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Feb 2011 19:59:04 +0000 (11:59 -0800)
commitee99aa4928129d4aad9087988db6b7815ecdc1d5
treebfb8da7c475fb9805549d6d25f6b4d1fabfc80e7
parent66681fb74e3d2f4dbf40f1e22b315a3807408eaf
staging/easycap: remove paranoid argument checks in usb probe/disconnect

remove checks for NULL for usb_interface. USB bus won't call these
functions with NULL

Cc: Mike Thomas <rmthomas@sciolus.org>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/easycap/easycap_main.c