projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ff7727
)
[PATCH] nvidiafb: Remove NULL check #2
author
Antonino A. Daplas
<adaplas@gmail.com>
Mon, 27 Mar 2006 09:17:33 +0000
(
01:17
-0800)
committer
Linus 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/nvidia/nv_i2c.c
b/drivers/video/nvidia/nv_i2c.c
index bd9eca05e146d515a06d1c2c3e8e814d48c71ff8..1edb1c432b753ed4349600e4d82a4142bb8b38e3 100644
(file)
--- a/
drivers/video/nvidia/nv_i2c.c
+++ b/
drivers/video/nvidia/nv_i2c.c
@@
-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;
}