summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/pxa3xx-gcu.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-04-14 11:09:29 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-04-30 13:57:29 +0300
commita513ad2d6de2dbf28465e4eae7d355a926944871 (patch)
tree52d35c2d27938a0cc931d6ecf0678fca5575bbc6 /drivers/video/fbdev/pxa3xx-gcu.c
parentc150a2803d6df8d35e9d86236c256347e7e14bf6 (diff)
downloadtalos-op-linux-a513ad2d6de2dbf28465e4eae7d355a926944871.tar.gz
talos-op-linux-a513ad2d6de2dbf28465e4eae7d355a926944871.zip
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>
Diffstat (limited to 'drivers/video/fbdev/pxa3xx-gcu.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud