diff options
| author | Antonino A. Daplas <adaplas@gmail.com> | 2006-03-27 04:17:33 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-27 11:44:56 -0500 |
| commit | 7c518eb84ce75d4c8e8799f4fcad59837f6d1894 (patch) | |
| tree | 554c85c6ab12bde941873ac7a68e0a940d27f146 | |
| parent | 3d5b191fff144634a04800e610b7ad0c1aefa6ed (diff) | |
[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: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| -rw-r--r-- | drivers/video/i810/i810-i2c.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/i810/i810-i2c.c b/drivers/video/i810/i810-i2c.c index e3c8b5f1ca76..3fe3ae1aff12 100644 --- 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) | |||
| 210 | } | 210 | } |
| 211 | } | 211 | } |
| 212 | 212 | ||
| 213 | if (out_edid) | 213 | *out_edid = edid; |
| 214 | *out_edid = edid; | ||
| 215 | 214 | ||
| 216 | return (edid) ? 0 : 1; | 215 | return (edid) ? 0 : 1; |
| 217 | } | 216 | } |
