Staging: dwc2: Fix variable dereferenced before check
authorRashika Kheria <rashika.kheria@gmail.com>
Tue, 29 Oct 2013 22:46:55 +0000 (04:16 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Oct 2013 16:24:39 +0000 (09:24 -0700)
This patch fixes the following smatch warning in hcd_intr.c-
drivers/staging/dwc2/hcd_intr.c:1946 dwc2_hc_n_intr() warn: variable dereferenced before check 'chan' (see line 1936)

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found