From: Markus Valentin Date: Mon, 9 Jan 2023 14:10:47 +0000 (+0100) Subject: welcome-plugin: Remove welcome_open_box() X-Git-Tag: 2.4.0~3164 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cca5e7e5781b53971a51dc18b163dbffeb23004;p=thirdparty%2Fdovecot%2Fcore.git welcome-plugin: Remove welcome_open_box() --- 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); }