[mutter] renderer/native: Remove unused function parameter
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] renderer/native: Remove unused function parameter
- Date: Wed, 14 Apr 2021 13:24:52 +0000 (UTC)
commit 1a7f4d49f378fb9ada93f0b977776c998b3057a0
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Tue Apr 13 15:51:36 2021 +0200
renderer/native: Remove unused function parameter
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1820>
src/backends/native/meta-renderer-native.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/backends/native/meta-renderer-native.c b/src/backends/native/meta-renderer-native.c
index d00128d56c..8c7b77687c 100644
--- a/src/backends/native/meta-renderer-native.c
+++ b/src/backends/native/meta-renderer-native.c
@@ -156,7 +156,7 @@ meta_renderer_native_get_primary_gpu (MetaRendererNative *renderer_native)
}
static MetaRendererNativeGpuData *
-meta_create_renderer_native_gpu_data (MetaGpuKms *gpu_kms)
+meta_create_renderer_native_gpu_data (void)
{
return g_new0 (MetaRendererNativeGpuData, 1);
}
@@ -1469,7 +1469,7 @@ create_renderer_gpu_data_gbm (MetaRendererNative *renderer_native,
return NULL;
}
- renderer_gpu_data = meta_create_renderer_native_gpu_data (gpu_kms);
+ renderer_gpu_data = meta_create_renderer_native_gpu_data ();
renderer_gpu_data->renderer_native = renderer_native;
renderer_gpu_data->gbm.device = gbm_device;
renderer_gpu_data->mode = META_RENDERER_NATIVE_MODE_GBM;
@@ -1542,7 +1542,7 @@ create_renderer_gpu_data_surfaceless (MetaRendererNative *renderer_native,
if (egl_display == EGL_NO_DISPLAY)
return NULL;
- renderer_gpu_data = meta_create_renderer_native_gpu_data (NULL);
+ renderer_gpu_data = meta_create_renderer_native_gpu_data ();
renderer_gpu_data->renderer_native = renderer_native;
renderer_gpu_data->mode = META_RENDERER_NATIVE_MODE_SURFACELESS;
renderer_gpu_data->egl_display = egl_display;
@@ -1731,7 +1731,7 @@ create_renderer_gpu_data_egl_device (MetaRendererNative *renderer_native,
return NULL;
}
- renderer_gpu_data = meta_create_renderer_native_gpu_data (gpu_kms);
+ renderer_gpu_data = meta_create_renderer_native_gpu_data ();
renderer_gpu_data->renderer_native = renderer_native;
renderer_gpu_data->egl.device = egl_device;
renderer_gpu_data->mode = META_RENDERER_NATIVE_MODE_EGL_DEVICE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]