Re: [Mesa-dev] [PATCH 14/16] dri: Simplify use of driConcatConfigs

2012-08-06 Thread Eric Anholt
Chad Versace 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

[Mesa-dev] [PATCH 14/16] dri: Simplify use of driConcatConfigs

2012-08-02 Thread Chad Versace
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