linux/drivers/staging/imx-drm
Fabio Estevam b6d8115e4e imx-drm: ipu-dmfc: Remove unneeded 'dmfc' check
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@oracle.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-02-28 14:56:33 -08:00
..
ipu-v3 imx-drm: ipu-dmfc: Remove unneeded 'dmfc' check 2014-02-28 14:56:33 -08:00
imx-drm-core.c imx-drm: imx-drm-core: Staticize imx_drm_find_crtc() 2014-02-27 14:57:43 -08:00
imx-drm.h imx-drm: Move IPU_PIX_FMT_GBR24 definition into imx-ipu-v3.h 2014-02-27 12:41:10 -08:00
imx-hdmi.c Merge branch 'imx-drm-staging' of git://ftp.arm.linux.org.uk/~rmk/linux-arm into staging-next 2014-02-24 12:39:56 -08:00
imx-hdmi.h imx-drm: Add mx6 hdmi transmitter support 2013-12-08 17:23:18 -08:00
imx-ldb.c imx-drm: imx-ldb: Check 'mode' pointer first 2014-02-27 14:57:43 -08:00
imx-tve.c imx-drm: Move IPU_PIX_FMT_GBR24 definition into imx-ipu-v3.h 2014-02-27 12:41:10 -08:00
ipuv3-crtc.c imx-drm: use supplied drm_device where possible 2014-02-24 12:07:41 +00:00
ipuv3-plane.c imx-drm: ipuv3-plane: Use %pad to print 'dma_addr_t' 2014-02-27 14:57:43 -08:00
ipuv3-plane.h staging: drm/imx: add drm plane support 2013-10-11 15:30:33 -07:00
Kconfig imx-drm: parallel-display: Add drm_panel support 2014-02-27 12:43:36 -08:00
Makefile imx-drm: remove imx-fb.c 2014-02-24 12:07:39 +00:00
parallel-display.c imx-drm: parallel-display: Check 'mode' pointer first 2014-02-27 14:57:43 -08:00
TODO staging: drm/imx: add drm plane support 2013-10-11 15:30:33 -07:00