OpenCloudOS-Kernel/drivers/video/fbdev/mmp
Dan Carpenter a513ad2d6d video: mmpfb: cleanup some static checker warnings in probe()
Sparse complains about using zero instead of NULL for pointers.
Probably, if we enabled the warning, then GCC would complain about the
unused initializers.  I've just removed them.

Smatch complains that we first check if "fbi" is NULL and then
dereference it in the error handling.  It turns out that "fbi" can't be
NULL so I've removed the check.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2014-04-30 13:57:29 +03:00
..
fb video: mmpfb: cleanup some static checker warnings in probe() 2014-04-30 13:57:29 +03:00
hw video: mmp: Remove references to CPU_PXA988 2014-04-30 11:36:48 +03:00
panel video: move fbdev to drivers/video/fbdev 2014-04-17 08:10:19 +03:00
Kconfig video: mmp: Remove references to CPU_PXA988 2014-04-30 11:36:48 +03:00
Makefile video: move fbdev to drivers/video/fbdev 2014-04-17 08:10:19 +03:00
core.c video: move fbdev to drivers/video/fbdev 2014-04-17 08:10:19 +03:00