Hi Fabio, Am Freitag, den 28.02.2014, 11:39 -0300 schrieb Fabio Estevam: > From: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx> > > Fix the following static checker warning: > > drivers/staging/imx-drm/ipu-v3/ipu-dmfc.c:164 ipu_dmfc_setup_channel() warn: variable dereferenced before check 'dmfc' (see line 157) > > As 'dmfc' could never be null, there is no need to do such check. > > Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx> > > Signed-off-by: Fabio Estevam <festevam@xxxxxxxxx> > --- > Changes since v4: > - Remove the check instead of moving it earlier Acked-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> I'll resend the move-out-of-staging patch rebased on top of this. thanks Philipp _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel