commit | 9978cf50426bc8d386a0753f74ab895e4d6da554 | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@linux.intel.com> | Wed Jul 25 13:51:20 2012 +0100 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Jul 26 09:50:35 2012 +0200 |
tree | 4c0fa9cf10cc44ca5a2175e2eed8bc8d460d61cb | |
parent | 0274df3e43be962eee0499ee97c514fdb1c8f3ae [diff] |
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>