From: Volker Lendecke Date: Fri, 23 Apr 2021 14:07:38 +0000 (+0200) Subject: printing: Remove dead code X-Git-Tag: tevent-0.11.0~1032 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7997a090c687df56c29607d4860b306aeb1dd237;p=thirdparty%2Fsamba.git printing: Remove dead code This was already covered a few lines above. Signed-off-by: Volker Lendecke Reviewed-by: Andreas Schneider --- diff --git a/source3/printing/queue_process.c b/source3/printing/queue_process.c index a4f49d01508..225b7d8aa89 100644 --- a/source3/printing/queue_process.c +++ b/source3/printing/queue_process.c @@ -332,11 +332,6 @@ pid_t start_background_queue(struct tevent_context *ev, return pid; } - if (pid == -1) { - DEBUG(5,("start_background_queue: background LPQ thread failed to start. %s\n", strerror(errno) )); - exit(1); - } - if (pid == 0) { int ret; NTSTATUS status;