[PATCH] fbcon: Consolidate redundant code