]> err.no Git - linux-2.6/commitdiff
[PATCH] i810fb: Remove NULL check
authorAntonino A. Daplas <adaplas@gmail.com>
Mon, 27 Mar 2006 09:17:33 +0000 (01:17 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 27 Mar 2006 16:44:56 +0000 (08:44 -0800)
Remove unnecessary NULL check.  Being a function private to the driver,
out_edid can never be NULL.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/i810/i810-i2c.c

index e3c8b5f1ca764261f9a89c44ebcc7040399da3c7..3fe3ae1aff120425c834b1568af7cb4e49d0234d 100644 (file)
@@ -210,8 +210,7 @@ int i810_probe_i2c_connector(struct fb_info *info, u8 **out_edid, int conn)
                }
        }
 
-        if (out_edid)
-                *out_edid = edid;
+       *out_edid = edid;
 
         return (edid) ? 0 : 1;
 }