USB: mos7840.c: fix a check-after-dereference
authorAdrian Bunk <bunk@stusta.de>
Sun, 8 Oct 2006 23:16:32 +0000 (01:16 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Oct 2006 21:46:33 +0000 (14:46 -0700)
commitad18027f4909c8fc107056460c97dbedb6635128
treecf15d6e79ba3324e4974634a7fa446ff10fa4381
parentc19ecd654209725444d1f47a4422e6f48846b53c
USB: mos7840.c: fix a check-after-dereference

This patch fixes an obvious check-after-dereference spotted by the
Coverity checker.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/mos7840.c