From c65411eab5802971e5ac28ac30167eb419066881 Mon Sep 17 00:00:00 2001 From: Joseph Sutton <josephsutton@catalyst.net.nz> Date: Fri, 6 Oct 2023 12:03:40 +1300 Subject: [PATCH] s4:messaging: Remove redundant code Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> --- source4/lib/messaging/messaging.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c index 7f5dab61b49..eb5ff46e97f 100644 --- a/source4/lib/messaging/messaging.c +++ b/source4/lib/messaging/messaging.c @@ -349,9 +349,6 @@ size_t imessaging_deregister(struct imessaging_context *msg, uint32_t msg_type, */ int imessaging_cleanup(struct imessaging_context *msg) { - if (!msg) { - return 0; - } return 0; }