drm/gma500: remove an unneeded NULL check
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 28 Jun 2017 12:41:01 +0000 (15:41 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 28 Jun 2017 17:17:38 +0000 (19:17 +0200)
commitfaa8b0b7534aabdc8095eb05310f04eff4024b36
tree2cdb9d8484c617e3795bec26e5852dbe5f2b229e
parent4177b51e1949468c74a54dde99c775f5746fa11e
drm/gma500: remove an unneeded NULL check

"connector" is the list iterator and it can't be NULL.  It causes a
static checker warning because we dereference the iterator to get the
next item in the list.  Let's remove this check.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170628124100.3pw2gyitsfopaib5@mwanda
drivers/gpu/drm/gma500/mdfld_intel_display.c