Commit 7c518eb8 authored by Antonino A. Daplas's avatar Antonino A. Daplas Committed by Linus Torvalds
Browse files

[PATCH] i810fb: Remove NULL check



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

Signed-off-by: default avatarAntonino Daplas <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 3d5b191f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -210,7 +210,6 @@ int i810_probe_i2c_connector(struct fb_info *info, u8 **out_edid, int conn)
		}
	}

        if (out_edid)
	*out_edid = edid;

        return (edid) ? 0 : 1;