]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] savagefb: Remove NULL check
authorAntonino A. Daplas <adaplas@gmail.com>
Mon, 27 Mar 2006 09:17:34 +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/savage/savagefb-i2c.c

index 00719a91479f9d772352c01588d439861558f79a..21debed863ac4d459bd9222b544841fe862eb476 100644 (file)
@@ -273,8 +273,7 @@ int savagefb_probe_i2c_connector(struct fb_info *info, u8 **out_edid)
                }
        }
 
-       if (out_edid)
-               *out_edid = edid;
+       *out_edid = edid;
 
        return (edid) ? 0 : 1;
 }