summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/display.c
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2010-06-22 10:14:01 +0200
committerTomi Valkeinen <tomi.valkeinen@nokia.com>2010-08-05 16:52:11 +0300
commitedecee858ea5540075cbd84ada8bb07f952fd758 (patch)
treeff8e338150d9c8d1f9b25f629eef5b6f9aeaad4b /drivers/video/omap2/dss/display.c
parentf55fdcfe88c5a23115b6d93674ad1e082e841091 (diff)
downloadlinux-edecee858ea5540075cbd84ada8bb07f952fd758.tar.gz
linux-edecee858ea5540075cbd84ada8bb07f952fd758.tar.bz2
linux-edecee858ea5540075cbd84ada8bb07f952fd758.zip
OMAP: DSS2: Remove extra return statement
Remove extra return statement in omapdss_default_get_recommended_bpp from overlay.c Signed-off-by: Archit Taneja <archit@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Diffstat (limited to 'drivers/video/omap2/dss/display.c')
-rw-r--r--drivers/video/omap2/dss/display.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/omap2/dss/display.c b/drivers/video/omap2/dss/display.c
index 480aeaa5f39c..22dd7a474f79 100644
--- a/drivers/video/omap2/dss/display.c
+++ b/drivers/video/omap2/dss/display.c
@@ -346,7 +346,6 @@ int omapdss_default_get_recommended_bpp(struct omap_dss_device *dssdev)
case OMAP_DISPLAY_TYPE_VENC:
case OMAP_DISPLAY_TYPE_SDI:
return 24;
- return 24;
default:
BUG();
}