commit ebf11dd
Michael Forney
·
2016-05-01 08:21:40 +0000 UTC
parent f1fd6f7
Remove unused mode_finish
3 files changed,
+0,
-11
+0,
-5
1@@ -34,11 +34,6 @@ mode_initialize(struct mode *mode, drmModeModeInfo *mode_info)
2 return true;
3 }
4
5-void
6-mode_finish(struct mode *mode)
7-{
8-}
9-
10 bool
11 mode_equal(const struct mode *mode1, const struct mode *mode2)
12 {
+0,
-1
1@@ -39,7 +39,6 @@ struct mode {
2 };
3
4 bool mode_initialize(struct mode *mode, drmModeModeInfo *mode_info);
5-void mode_finish(struct mode *mode);
6 bool mode_equal(const struct mode *mode1, const struct mode *mode2);
7
8 #endif
+0,
-5
1@@ -105,12 +105,7 @@ error0:
2 void
3 output_destroy(struct output *output)
4 {
5- struct mode *mode;
6-
7- wl_array_for_each (mode, &output->modes)
8- mode_finish(mode);
9 wl_array_release(&output->modes);
10-
11 wl_global_destroy(output->global);
12 free(output);
13 }