]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
remove set auto option
authorBastian Dehn <hhaalo@arcor.de>
Wed, 15 May 2024 14:13:45 +0000 (16:13 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Wed, 15 May 2024 14:13:45 +0000 (16:13 +0200)
src/kds_s2000w_handler_opts.c
src/kds_s2000w_handler_opts.h
src/kds_s2000w_net.c

index 3691d856bf43fd28cc880be47a3e5cde321be2db..7360420e6f7d8538442034a88ff0c6e3ce492089 100644 (file)
@@ -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
index 3daecedba86764fb3549dce567c2a23e560b8d7b..f42974393eb78f3b866814e499915f88aa08ec66 100644 (file)
@@ -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
index a2e5acca8f060291905359f8b57b0f1ee62686ec..72392b00ae469663df39f728f4c2f86d0ab2d2da 100644 (file)
@@ -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;
 }