i915: remove unneeded null checks
authorDan Carpenter <error27@gmail.com>
Fri, 7 May 2010 08:39:00 +0000 (10:39 +0200)
committerEric Anholt <eric@anholt.net>
Wed, 26 May 2010 21:16:52 +0000 (14:16 -0700)
commitd8201ab6514f8dc1a0ccfac52c688d80976a425a
treeb60c9c8eb15a91cc298cf1ddf7bd40c6616c355e
parent90a78e8f60f679b0937011314a6cda39c7449d1d
i915: remove unneeded null checks

The "encoder" variable can never be null because it is used as loop
cursor in a list_for_each_entry() loop.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_dp.c