From: Bastian Dehn Date: Wed, 15 May 2024 14:13:45 +0000 (+0200) Subject: remove set auto option X-Git-Tag: v1.0.3^2~13 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=3a13e350c148ca5861a6860b412104d21aa241d8;p=sane-kds-s2000w-net.git remove set auto option --- diff --git a/src/kds_s2000w_handler_opts.c b/src/kds_s2000w_handler_opts.c index 3691d85..7360420 100644 --- a/src/kds_s2000w_handler_opts.c +++ b/src/kds_s2000w_handler_opts.c @@ -356,9 +356,4 @@ void kds_s2000w_handler_set_option(handler* h, int option, void* value, int* inf kds_s2000w_client_response_free(resp); resp = NULL; -} - -void kds_s2000w_handler_set_option_auto(int option) -{ - return; } \ No newline at end of file diff --git a/src/kds_s2000w_handler_opts.h b/src/kds_s2000w_handler_opts.h index 3daeced..f429743 100644 --- a/src/kds_s2000w_handler_opts.h +++ b/src/kds_s2000w_handler_opts.h @@ -2,5 +2,4 @@ #define KDS_S2000W_HANDLER_OPTS_H void kds_s2000w_handler_get_option(handler* h, int option, void* value, int* info); void kds_s2000w_handler_set_option(handler* h, int option, void* value, int* info); -void kds_s2000w_handler_set_option_auto(int option); #endif \ No newline at end of file diff --git a/src/kds_s2000w_net.c b/src/kds_s2000w_net.c index a2e5acc..72392b0 100644 --- a/src/kds_s2000w_net.c +++ b/src/kds_s2000w_net.c @@ -110,9 +110,6 @@ SANE_Status _sane_kds_s2000w_net_control_option(SANE_Handle handle, if (action == SANE_ACTION_SET_VALUE) kds_s2000w_handler_set_option(h, option, value, info); - if (action == SANE_ACTION_SET_AUTO) - kds_s2000w_handler_set_option_auto(option); - return SANE_STATUS_GOOD; }