aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-12-15 13:49:42 +0100
committerSimon Ser <contact@emersion.fr>2020-12-15 13:49:42 +0100
commite57a52e7f793a815f5b635b3751112d4c6f9302b (patch)
tree2eb3463ee8553b1acb30154c9d9742a10ef13da7 /backend/drm
parent93cd3a79b26cb3a94094efd28ee55fb6db6e7347 (diff)
Remove inline keyword
The compiler is smarter at figuring out whether a function should be inlined or not.
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/util.c b/backend/drm/util.c
index 86d66be4..b926e118 100644
--- a/backend/drm/util.c
+++ b/backend/drm/util.c
@@ -221,7 +221,7 @@ uint32_t get_fb_for_bo(struct gbm_bo *bo, bool with_modifiers) {
return id;
}
-static inline bool is_taken(size_t n, const uint32_t arr[static n], uint32_t key) {
+static bool is_taken(size_t n, const uint32_t arr[static n], uint32_t key) {
for (size_t i = 0; i < n; ++i) {
if (arr[i] == key) {
return true;