commit | a4bf68ca50da0ce291a464aec9b03a469ab2561a | [log] [tgz] |
---|---|---|
author | Chad Versace <chad.versace@linux.intel.com> | Wed Aug 01 21:23:47 2012 -0700 |
committer | Chad Versace <chad.versace@linux.intel.com> | Tue Aug 07 09:30:33 2012 -0700 |
tree | 48228cbcc200abb65e1aa8501142ae76183d802b | |
parent | b2d428cb8d20e003b65769c7757a137406c671e6 [diff] |
dri: Simplify use of driConcatConfigs 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. Reviewed-by: <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>