Skip to contentSkip to conversation

i810fb: Remove NULL check

PATCH In review Antonino A. Daplas 1 participant 1 message Mar 11, 2006 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 10/18 i810fb: Remove NULL check

Remove unnecessary NULL check. Being a function private to the driver, out_edid can never be NULL.

---

 drivers/video/i810/i810-i2c.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/video/i810/i810-i2c.c +1 -2
index e3c8b5f..3fe3ae1 100644
@@ -210,8 +210,7 @@ int i810_probe_i2c_connector(struct fb_i
 		}
 	}
 
-        if (out_edid)
-                *out_edid = edid;
+	*out_edid = edid;
 
         return (edid) ? 0 : 1;
 }

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642