diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2013-01-03 17:49:39 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@googlemail.com> | 2013-01-03 17:49:39 +0100 |
commit | 9fd26ce31083e643b917a44c91540f84678aad05 (patch) | |
tree | ac3598f35a6c2572e0cabd584039e2ad9765fa38 | |
parent | 995c07f853902347c12e78ac7490b9e2789d65b5 (diff) |
text: remove old init/deinit helpers
We no longer need these helpers so remove them. We require each backend to
register itself as part of module-loading so no need to keep these
helpers.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
-rw-r--r-- | src/text_bblit.c | 18 | ||||
-rw-r--r-- | src/text_bbulk.c | 18 | ||||
-rw-r--r-- | src/text_gltex.c | 18 |
3 files changed, 0 insertions, 54 deletions
diff --git a/src/text_bblit.c b/src/text_bblit.c index 26fe246..4595b18 100644 --- a/src/text_bblit.c +++ b/src/text_bblit.c @@ -121,21 +121,3 @@ struct kmscon_text_ops kmscon_text_bblit_ops = { .render = NULL, .abort = NULL, }; - -int kmscon_text_bblit_load(void) -{ - int ret; - - ret = kmscon_text_register(&kmscon_text_bblit_ops); - if (ret) { - log_error("cannot register bblit renderer"); - return ret; - } - - return 0; -} - -void kmscon_text_bblit_unload(void) -{ - kmscon_text_unregister(kmscon_text_bblit_ops.name); -} diff --git a/src/text_bbulk.c b/src/text_bbulk.c index eb87441..3e589b6 100644 --- a/src/text_bbulk.c +++ b/src/text_bbulk.c @@ -185,21 +185,3 @@ struct kmscon_text_ops kmscon_text_bbulk_ops = { .render = bbulk_render, .abort = NULL, }; - -int kmscon_text_bbulk_load(void) -{ - int ret; - - ret = kmscon_text_register(&kmscon_text_bbulk_ops); - if (ret) { - log_error("cannot register bbulk renderer"); - return ret; - } - - return 0; -} - -void kmscon_text_bbulk_unload(void) -{ - kmscon_text_unregister(kmscon_text_bbulk_ops.name); -} diff --git a/src/text_gltex.c b/src/text_gltex.c index 4842f2d..b8cd8bf 100644 --- a/src/text_gltex.c +++ b/src/text_gltex.c @@ -694,21 +694,3 @@ struct kmscon_text_ops kmscon_text_gltex_ops = { .render = gltex_render, .abort = NULL, }; - -int kmscon_text_gltex_load(void) -{ - int ret; - - ret = kmscon_text_register(&kmscon_text_gltex_ops); - if (ret) { - log_error("cannot register gltex renderer"); - return ret; - } - - return 0; -} - -void kmscon_text_gltex_unload(void) -{ - kmscon_text_unregister(kmscon_text_gltex_ops.name); -} |