[patch] i915: cleanup: use ARRAY_SIZE()

Eric Anholt eric at anholt.net
Tue Jul 6 00:11:03 PDT 2010


On Wed, 23 Jun 2010 19:29:54 +0200, Dan Carpenter <error27 at gmail.com> wrote:
> NUM_TV_MODES is the same as  ARRAY_SIZE(tv_modes).  In the end, I
> decided it was cleaner to remove NUM_TV_MODES and just use
> ARRAY_SIZE(tv_modes) through out.
> 
> Signed-off-by: Dan Carpenter <error27 at gmail.com>

Applied.  Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20100706/1cb10cb8/attachment-0001.pgp>


More information about the dri-devel mailing list