aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/omap2/dss/sdi.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2015-11-04 17:10:58 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-12-29 11:06:29 +0200
commitb742648c499444e6a3044c9e8afb08956c9ca75c (patch)
treecfd7a6f5c39c34f44c5fc901dd20953729a0974b /drivers/video/fbdev/omap2/dss/sdi.c
parentOMAPDSS: change internal dispc functions to static (diff)
downloadlinux-dev-b742648c499444e6a3044c9e8afb08956c9ca75c.tar.xz
linux-dev-b742648c499444e6a3044c9e8afb08956c9ca75c.zip
OMAPDSS: remove extra out == NULL checks
All the output drivers check for 'out' being NULL, but it can never be NULL. Remove the check. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/video/fbdev/omap2/dss/sdi.c')
-rw-r--r--drivers/video/fbdev/omap2/dss/sdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/omap2/dss/sdi.c b/drivers/video/fbdev/omap2/dss/sdi.c
index 5843580a1deb..d747cc6b59e1 100644
--- a/drivers/video/fbdev/omap2/dss/sdi.c
+++ b/drivers/video/fbdev/omap2/dss/sdi.c
@@ -136,7 +136,7 @@ static int sdi_display_enable(struct omap_dss_device *dssdev)
unsigned long pck;
int r;
- if (out == NULL || out->manager == NULL) {
+ if (out->manager == NULL) {
DSSERR("failed to enable display: no output/manager\n");
return -ENODEV;
}