提交 3d5b191f 编写于 作者: A Antonino A. Daplas 提交者: Linus Torvalds

[PATCH] nvidiafb: Remove NULL check #2

Remove unnecessary NULL check.
Signed-off-by: NAntonino Daplas <adaplas@pol.net>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 8ff7727d
......@@ -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;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册