]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
remove no docs alert
authorBastian Dehn <hhaalo@arcor.de>
Tue, 27 Feb 2024 17:49:34 +0000 (18:49 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Tue, 27 Feb 2024 17:49:34 +0000 (18:49 +0100)
src/kds_s2000w_net.c

index 7997711c8e1ba7c6fc663a8c2de0953e1f2da2ae..f30ab35b0f4c2efa6556e49b048b62f3a236f09e 100644 (file)
@@ -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;
 }