Skip to content

Commit

Permalink
[PATCH] savagefb: Remove NULL check
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed Mar 27, 2006
1 parent 7c518eb commit 0e4be28
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/video/savage/savagefb-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,7 @@ int savagefb_probe_i2c_connector(struct fb_info *info, u8 **out_edid)
}
}

if (out_edid)
*out_edid = edid;
*out_edid = edid;

return (edid) ? 0 : 1;
}
Expand Down

0 comments on commit 0e4be28

Please sign in to comment.