From 01c22a1052c4c7ae0c72f075a40ee38f1d1a2518 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Tue, 27 Feb 2024 18:49:34 +0100 Subject: [PATCH] remove no docs alert --- src/kds_s2000w_net.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/kds_s2000w_net.c b/src/kds_s2000w_net.c index 7997711..f30ab35 100644 --- a/src/kds_s2000w_net.c +++ b/src/kds_s2000w_net.c @@ -183,12 +183,6 @@ SANE_Status _sane_kds_s2000w_net_start(SANE_Handle handle) if (h->current_scan_status->complete_scanned) kds_s2000w_handler_stop_scan(h); - if (h->current_scan_status->complete_scanned - && h->current_scan_status->current_image_number >= h->current_scan_status->downloaded_images - && h->current_scan_status->available_images <= 0) { - return SANE_STATUS_NO_DOCS; - } - return SANE_STATUS_GOOD; } -- 2.39.5