]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] nvidiafb: Remove NULL check #2
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.

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/nvidia/nv_i2c.c

index bd9eca05e146d515a06d1c2c3e8e814d48c71ff8..1edb1c432b753ed4349600e4d82a4142bb8b38e3 100644 (file)
@@ -218,8 +218,7 @@ int nvidia_probe_i2c_connector(struct fb_info *info, int conn, u8 **out_edid)
                }
        }
 
-       if (out_edid)
-               *out_edid = edid;
+       *out_edid = edid;
 
        return (edid) ? 0 : 1;
 }