i915: Remove silly test
authorAlan Cox <alan@linux.intel.com>
Wed, 25 Jul 2012 12:51:20 +0000 (13:51 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 26 Jul 2012 07:50:35 +0000 (09:50 +0200)
commit9978cf50426bc8d386a0753f74ab895e4d6da554
tree4c0fa9cf10cc44ca5a2175e2eed8bc8d460d61cb
parent0274df3e43be962eee0499ee97c514fdb1c8f3ae
i915: Remove silly test

drv_priv->gmbus is an array. Comparing it with NULL is somewhat less useful
than a chocolate teapot.

Possibly we should be testing bus != NULL each iteration of the loop
instead ?

gcc could help by warning too!

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_i2c.c