diff options
author | Matt Turner <[email protected]> | 2017-07-06 21:18:03 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2017-08-29 15:20:57 -0700 |
commit | 6cfc49287d6dd10cfc8b58906a01fbd3d5a100aa (patch) | |
tree | c7ee108808aa9bf52e9c8338c15437b46bdaa65f /src/intel/vulkan/genX_gpu_memcpy.c | |
parent | 012887ef48763aa3e9860fbd369f75c6ae26f5cf (diff) |
anv: Remove 'inline' keywords
Unless you have data, the compiler knows better than you whether a
function should be inlined.
No difference in the resulting binary with gcc-6.3.0 or clang-4.0.
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/intel/vulkan/genX_gpu_memcpy.c')
-rw-r--r-- | src/intel/vulkan/genX_gpu_memcpy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/genX_gpu_memcpy.c b/src/intel/vulkan/genX_gpu_memcpy.c index db723d4a528..6ed9ac7366a 100644 --- a/src/intel/vulkan/genX_gpu_memcpy.c +++ b/src/intel/vulkan/genX_gpu_memcpy.c @@ -36,7 +36,7 @@ /** * Returns the greatest common divisor of a and b that is a power of two. */ -static inline uint64_t +static uint64_t gcd_pow2_u64(uint64_t a, uint64_t b) { assert(a > 0 || b > 0); |