forked from luck/tmp_suning_uos_patched
[PATCH] nvidiafb: Remove NULL check #2
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>
This commit is contained in:
parent
8ff7727d2a
commit
3d5b191fff
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user