fbdev: geocode: remove unneeded NULL check
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 6 Jan 2015 12:45:02 +0000 (18:15 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 13 Jan 2015 11:29:22 +0000 (13:29 +0200)
commit9cb13ba4355936b9c4f8eb3792bff6654e33ed5e
treee4ec3bf1319429029ea0104f33ac931389c19d42
parent96699b4004f40cc0006794ff0f63ba841a4427fe
fbdev: geocode: remove unneeded NULL check

the check for info is not required as we are checking it immediately
after gxfb_init_fbinfo() and lxfb_init_fbinfo() and returnig -ENOMEM
if it is NULL.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/geode/gxfb_core.c
drivers/video/fbdev/geode/lxfb_core.c