From 1cca5e7e5781b53971a51dc18b163dbffeb23004 Mon Sep 17 00:00:00 2001 From: Markus Valentin Date: Mon, 9 Jan 2023 15:10:47 +0100 Subject: [PATCH] welcome-plugin: Remove welcome_open_box() --- src/plugins/welcome/welcome-plugin.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/plugins/welcome/welcome-plugin.c b/src/plugins/welcome/welcome-plugin.c index 1b35acfa89..566f40c982 100644 --- a/src/plugins/welcome/welcome-plugin.c +++ b/src/plugins/welcome/welcome-plugin.c @@ -104,13 +104,6 @@ welcome_create_box(struct mailbox *box, return 0; } -static int welcome_open_box(struct mailbox *box) -{ - struct welcome_mailbox *wbox = WELCOME_CONTEXT(box); - - return wbox->module_ctx.super.open(box); -} - static void welcome_mailbox_allocated(struct mailbox *box) { struct mailbox_vfuncs *v = box->vlast; @@ -124,7 +117,6 @@ static void welcome_mailbox_allocated(struct mailbox *box) box->vlast = &wbox->module_ctx.super; v->create_box = welcome_create_box; - v->open = welcome_open_box; MODULE_CONTEXT_SET(box, welcome_storage_module, wbox); } -- 2.47.3