While reading the omapdrm code I found a few things which could be improved. These patches just simplify the logic and remove some LOC, and should have no effect upon functionality. Bob Mottram (4): Simplify logic Simplify logic and remove redundant condition Inappropriate free after non-creation Use the condition rather than a goto drivers/gpu/drm/omapdrm/omap_connector.c | 8 +------- drivers/gpu/drm/omapdrm/omap_fbdev.c | 10 ++-------- drivers/gpu/drm/omapdrm/omap_gem.c | 25 +++++++++++-------------- drivers/gpu/drm/omapdrm/tcm-sita.c | 6 +----- 4 files changed, 15 insertions(+), 34 deletions(-) -- 2.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html