[Mesa-dev] [PATCH 14/16] dri: Simplify use of driConcatConfigs
Eric Anholt
eric at anholt.net
Mon Aug 6 11:43:06 PDT 2012
Chad Versace <chad.versace at linux.intel.com> writes:
> If either argument to driConcatConfigs(a, b) is null or the empty list,
> then simply return the other argument as the resultant list.
>
> All callers were accomplishing that same behavior anyway. And each caller
> accopmplished it with the same pattern. So this patch moves that external
> pattern into the function.
An obvious cleanup.
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- 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/mesa-dev/attachments/20120806/9134f0a2/attachment.pgp>
More information about the mesa-dev
mailing list