Skip to contentSkip to conversation

nvidiafb: 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 11/18 nvidiafb: Remove NULL check

Remove unnecessary NULL check.

---

 drivers/video/nvidia/nv_i2c.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/video/nvidia/nv_i2c.c +1 -2
index bd9eca0..1edb1c4 100644
@@ -218,8 +218,7 @@ int nvidia_probe_i2c_connector(struct fb
 		}
 	}
 
-	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