[PATCH] i915: Remove silly test

Daniel Vetter daniel at ffwll.ch
Thu Jul 26 01:20:24 PDT 2012


On Wed, Jul 25, 2012 at 01:51:20PM +0100, Alan Cox wrote:
> From: Alan Cox <alan at linux.intel.com>
> 
> 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 at linux.intel.com>

All three patches merged for -fixes, thanks.
-Daniel
-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48


More information about the dri-devel mailing list