projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d5b191
)
[PATCH] i810fb: Remove NULL check
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. Being a function private to the driver,
out_edid can never be NULL.
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/i810/i810-i2c.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/i810/i810-i2c.c
b/drivers/video/i810/i810-i2c.c
index e3c8b5f1ca764261f9a89c44ebcc7040399da3c7..3fe3ae1aff120425c834b1568af7cb4e49d0234d 100644
(file)
--- a/
drivers/video/i810/i810-i2c.c
+++ b/
drivers/video/i810/i810-i2c.c
@@
-210,8
+210,7
@@
int i810_probe_i2c_connector(struct fb_info *info, u8 **out_edid, int conn)
}
}
- if (out_edid)
- *out_edid = edid;
+ *out_edid = edid;
return (edid) ? 0 : 1;
}