swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit ebf11dd1e36beacf7d5b7256a897154366beb4eb
parent f1fd6f71d949d67ea3c6655596f42a7aff5b5264
Author: Michael Forney <mforney@mforney.org>
Date:   Sun,  1 May 2016 01:21:40 -0700

Remove unused mode_finish

Diffstat:
Mlibswc/mode.c | 5-----
Mlibswc/mode.h | 1-
Mlibswc/output.c | 5-----
3 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/libswc/mode.c b/libswc/mode.c @@ -34,11 +34,6 @@ mode_initialize(struct mode *mode, drmModeModeInfo *mode_info) return true; } -void -mode_finish(struct mode *mode) -{ -} - bool mode_equal(const struct mode *mode1, const struct mode *mode2) { diff --git a/libswc/mode.h b/libswc/mode.h @@ -39,7 +39,6 @@ struct mode { }; bool mode_initialize(struct mode *mode, drmModeModeInfo *mode_info); -void mode_finish(struct mode *mode); bool mode_equal(const struct mode *mode1, const struct mode *mode2); #endif diff --git a/libswc/output.c b/libswc/output.c @@ -105,12 +105,7 @@ error0: void output_destroy(struct output *output) { - struct mode *mode; - - wl_array_for_each (mode, &output->modes) - mode_finish(mode); wl_array_release(&output->modes); - wl_global_destroy(output->global); free(output); }