]> err.no Git - linux-2.6/commit
USB: cypress_m8: Get rid of pointless NULL check
authorMike Isely <isely@pobox.com>
Mon, 11 Feb 2008 02:23:28 +0000 (20:23 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Apr 2008 04:16:37 +0000 (21:16 -0700)
commit6768306c3d9568bc66dc22f8b863bfbda3e7c4d2
tree444aff0f1cd9c70139fe3cbed1e49a60f662332b
parent3d6aa3206540e1e68bda9e8ea11ec71444f1ac71
USB: cypress_m8: Get rid of pointless NULL check

Remove a NULL check in cypress_m8; the check is useless in this
context because it is referenced earlier in the same code path thus
the kernel would be oops'ed before reaching this point anyway.  (And
it's really pointless here anyway; if this pointer somehow is NULL the
driver is going to have serious problems in many other places.)

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/cypress_m8.c